Skip to content

Commit

Permalink
Exclude files prefixed with underscore in site examples (#296)
Browse files Browse the repository at this point in the history
Site integration follows different conventions from the AsciidoctorMojo. And
"internal" files and folders are not a feature.
However, files can be ignored using the configuration in the PR.

See https://issues.apache.org/jira/browse/DOXIASITETOOLS-355
See asciidoctor/asciidoctor-maven-plugin#750
  • Loading branch information
abelsromero committed Oct 9, 2024
1 parent 6a17331 commit 5cb2912
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions asciidoc-maven-site-converter-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
<locales>en</locales>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<!-- Ignore files prefixed with underscore -->
<moduleExcludes>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
<asciidoc>
<!-- Optional site-wide AsciiDoc attributes -->
<attributes>
Expand Down
4 changes: 4 additions & 0 deletions asciidoc-maven-site-parser-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
<locales>en</locales>
<inputEncoding>UTF-8</inputEncoding>
<outputEncoding>UTF-8</outputEncoding>
<!-- Ignore files prefixed with underscore -->
<moduleExcludes>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
<asciidoc>
<!-- Optional site-wide AsciiDoc attributes -->
<attributes>
Expand Down

0 comments on commit 5cb2912

Please sign in to comment.