From 25cc1e5000d9649d9b827824a0b4912591bfb544 Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Wed, 9 Oct 2024 22:24:22 +0200 Subject: [PATCH] Document how to ignore internal paths in site modules (#932) Fixes #750 --- README_zh-CN.adoc | 2 +- .../src/it/maven-site-plugin/pom.xml | 2 +- .../src/it/maven-site-plugin/pom.xml | 2 +- .../pages/converter-module-setup-and-configuration.adoc | 4 ++-- .../pages/parser-module-setup-and-configuration.adoc | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README_zh-CN.adoc b/README_zh-CN.adoc index 313abdee..9b7f1020 100644 --- a/README_zh-CN.adoc +++ b/README_zh-CN.adoc @@ -395,7 +395,7 @@ Asciidoctor 基础目录默认配置为 `src/site/asciidoc`,这可以被覆盖 - **/_*.adoc + **/_*.adoc,**/_*/ diff --git a/asciidoctor-converter-doxia-module/src/it/maven-site-plugin/pom.xml b/asciidoctor-converter-doxia-module/src/it/maven-site-plugin/pom.xml index df89a4b6..1ce5cb7a 100644 --- a/asciidoctor-converter-doxia-module/src/it/maven-site-plugin/pom.xml +++ b/asciidoctor-converter-doxia-module/src/it/maven-site-plugin/pom.xml @@ -53,7 +53,7 @@ - **/_*.adoc + **/_*.adoc,**/_*/ diff --git a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml index 2ab11cb7..393d8c4d 100644 --- a/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml +++ b/asciidoctor-parser-doxia-module/src/it/maven-site-plugin/pom.xml @@ -32,7 +32,7 @@ - **/_*.adoc + **/_*.adoc,**/_*/ diff --git a/docs/modules/site-integration/pages/converter-module-setup-and-configuration.adoc b/docs/modules/site-integration/pages/converter-module-setup-and-configuration.adoc index c13261d3..6a9180ea 100644 --- a/docs/modules/site-integration/pages/converter-module-setup-and-configuration.adoc +++ b/docs/modules/site-integration/pages/converter-module-setup-and-configuration.adoc @@ -70,7 +70,7 @@ There are two important differences, however. . All the configuration for Asciidoctor in the site integration must be nested inside an `` element. This is necessary since the `` 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 @@ -93,7 +93,7 @@ Here's an example that shows how to set options, attributes and ignore partial A - **/_*.adoc + **/_*.adoc,**/_*/ diff --git a/docs/modules/site-integration/pages/parser-module-setup-and-configuration.adoc b/docs/modules/site-integration/pages/parser-module-setup-and-configuration.adoc index 2b5eab9d..e29976cd 100644 --- a/docs/modules/site-integration/pages/parser-module-setup-and-configuration.adoc +++ b/docs/modules/site-integration/pages/parser-module-setup-and-configuration.adoc @@ -81,7 +81,7 @@ There are two important differences, however. . All the configuration for Asciidoctor in the site integration must be nested inside an `` element. This is necessary since the `` 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 @@ -101,7 +101,7 @@ Here's an example that shows how to set options, attributes and ignore partial A - **/_*.adoc + **/_*.adoc,**/_*/