Skip to content

Commit

Permalink
Document how to ignore internal paths in site modules (asciidoctor#932)
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero authored Oct 9, 2024
1 parent 6b36d80 commit 25cc1e5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README_zh-CN.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ Asciidoctor 基础目录默认配置为 `src/site/asciidoc`,这可以被覆盖
</attributes>
</asciidoc>
<moduleExcludes>
<asciidoc>**/_*.adoc</asciidoc>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
</configuration>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</attributes>
</asciidoc>
<moduleExcludes>
<asciidoc>**/_*.adoc</asciidoc>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
</configuration>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</attributes>
</asciidoc>
<moduleExcludes>
<asciidoc>**/_*.adoc</asciidoc>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
</configuration>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ There are two important differences, however.
. All the configuration for Asciidoctor in the site integration must be nested inside an `<asciidoc>` element.
This is necessary since the `<configuration>` element is used to configure more than just the Asciidoctor integration.
+
Here's an example that shows how to set options, attributes and ignore partial AsciiDoc files (i.e., files that begin with an underscore).
Here's an example that shows how to set options, attributes and ignore internal AsciiDoc files (i.e., files and folders that begin with an underscore).
+
[source,xml,subs=attributes+]
.Maven site integration with Asciidoctor configuration
Expand All @@ -93,7 +93,7 @@ Here's an example that shows how to set options, attributes and ignore partial A
</attributes>
</asciidoc>
<moduleExcludes>
<asciidoc>**/_*.adoc</asciidoc>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
</configuration>
<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ There are two important differences, however.
. All the configuration for Asciidoctor in the site integration must be nested inside an `<asciidoc>` element.
This is necessary since the `<configuration>` element is used to configure more than just the Asciidoctor integration.
+
Here's an example that shows how to set options, attributes and ignore partial AsciiDoc files (i.e., files that begin with an underscore).
Here's an example that shows how to set options, attributes and ignore internal AsciiDoc files (i.e., files and folders that begin with an underscore).
+
[source,xml,subs=attributes+]
.Maven site integration with Asciidoctor configuration
Expand All @@ -101,7 +101,7 @@ Here's an example that shows how to set options, attributes and ignore partial A
</attributes>
</asciidoc>
<moduleExcludes>
<asciidoc>**/_*.adoc</asciidoc>
<asciidoc>**/_*.adoc,**/_*/</asciidoc>
</moduleExcludes>
</configuration>
<dependencies>
Expand Down

0 comments on commit 25cc1e5

Please sign in to comment.