Putting the docfile in `/doc` has two unwanted side effects. First, consider what happens when somebody runs `rshelp doc` (when they might actually be looking for an explanation of what the directory is for). Secondly, `/doc` is a versioned directory, so the *generated* docfile may end up being accidentally committed to the repository while it shouldn't. I think it's better to put it in `/work/rshelp/` or in `/config`.