groc icon indicating copy to clipboard operation
groc copied to clipboard

out to wrong directories

Open machellerogden opened this issue 13 years ago • 3 comments

I have groc setup and working great on one of my computers but when I go to re-generate the docs from my other computer they don't end up in ./doc like they're supposed to ... they instead show up in whatever folder the file being processed was in. Here's my .groc.json file.... any thoughts why this would be happening on one machine but not another?

{
    "glob": ["app.js", "kue/*.js", "routes/*.js", "utils/*.js", "tests/*.js", "README.md"]
    , "except": ["*.min.js", "node_modules/**/*.js"]
    , "out": "./doc"
    , "index": "README.md"
    , "github": false
}

Thanks so much—loving groc! Keep up the great work.

-Mac

machellerogden avatar Oct 08 '12 22:10 machellerogden

I'm guessing that this was caused by my path.sep bug (see #53) - try out groc 0.2.17+ and see if that fixes it for ya

nevir avatar Oct 14 '12 23:10 nevir

@machellerogden I have this same problem, did you figure out a solution? The html doc files are dumped through out the application except a few are placed into ./doc.

brewern avatar Mar 01 '15 19:03 brewern

One difference is that some of code files I'm generating documentation for are outside of the project in a Gem path. It's placing the gem code documents dumped in their directories (outside of the project), but the files within the project are going into the ./doc correctly.

brewern avatar Mar 01 '15 19:03 brewern