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

Don't process files or folders that begin with an underscore #36

Closed
mojavelinux opened this issue Oct 9, 2013 · 0 comments
Closed

Don't process files or folders that begin with an underscore #36

mojavelinux opened this issue Oct 9, 2013 · 0 comments

Comments

@mojavelinux
Copy link
Member

The user generally doesn't want include files to be rendered separately. A convention often used to hide these files from a document processor is to prefix the file name with an underscore. This plugin should honor that convention.

Consider the following hierarchy:

src/
  asciidoc/
    user-manual.adoc
    _examples/
      example-a.adoc
    faq.adoc
    _license.adoc

Both the faq.adoc and user-manual.adoc files should be processed, but the _examples directory and _license.adoc file should be skipped.

mojavelinux added a commit to mojavelinux/asciidoctor-gradle-plugin that referenced this issue Oct 10, 2013
aalmiray added a commit that referenced this issue Oct 10, 2013
resolves #36 skip files and directories that begin with an underscore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant