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

Added support for excluding paths from the output. #133

Merged
merged 2 commits into from Aug 26, 2011

Conversation

lhunath
Copy link
Contributor

@lhunath lhunath commented Aug 19, 2011

This is useful if you only want to generate documentation for certain
sources but those sources depend on other sources that should not have
documentation generated for them. With this feature, you add all
sources as input and exclude certain sources from output generation. It
will hide warnings on excluded sources, not generate output for them,
but they will be used for merging with your included sources (eg.
inheritance etc.)

This is useful if you only want to generate documentation for certain
sources but those sources depend on other sources that should not have
documentation generated for them.  With this feature, you add all
sources as input and exclude certain sources from output generation.  It
will hide warnings on excluded sources, not generate output for them,
but they will be used for merging with your included sources (eg.
inheritance etc.)
@tomaz
Copy link
Owner

tomaz commented Aug 26, 2011

Might be confusing with --ignore option, but is useful, so I'm merging it to main branch, thanks!

tomaz added a commit that referenced this pull request Aug 26, 2011
Added support for excluding paths from the output. Use `--exclude-output` option for entering all paths that should be parsed, but excluded from generated output.

Although this is similar to `--ignore`, there's one important difference: Ignore option will simply prevent any parsing happening over specified files or folders, hence it will result in warnings in case symbols from these paths are referenced in documentation that gets parsed. Exclude parses specified files or folders, but it simply doesn't output them, therefore you get no warnings. It's somewhat slower on the other hand due to having to parse extra files.
@tomaz tomaz merged commit 0fb82df into tomaz:master Aug 26, 2011
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

Successfully merging this pull request may close these issues.

None yet

2 participants