Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offer an 'excludes' directive or fix the relative path detection on generating HTML #17

Open
nathanaschbacher opened this issue May 21, 2012 · 1 comment

Comments

@nathanaschbacher
Copy link

Some kind of "excludes" functionality would be great, so I don't end up with documentation for all the node_modules contained in my project.

I sort of worked around this limitation by creating a "list of files" generated by the following command...

docco-husky -name "My Project" find . -type d ( -name .git -o -name node_modules ) -prune -o ( -name '*.js' -o -name 'package.json' ) -print``

But it doesn't quite work as it produces a list of full paths, which causes generated HTML in subdirectories to point to the wrong location for docco.css

@nathanaschbacher
Copy link
Author

While still not a complete solution, I've found that this at least solves the problem where the docco.css is referenced in the wrong place:

docco-husky -name "My Project" ls -d !(@(node_modules|.git|package.json|docs))``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant