summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-04-02 01:46:12 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-04-02 01:46:42 -0600
commitc4161fee3a77c89162a5e82d78a94bfe95302eda (patch)
tree48400bfd61903916a0873a326995e4c52830ea92
parent15c3fbfa333a47ad32180db753ba1531b0040288 (diff)
use attribute reference to create URL for API docs
-rw-r--r--docs/modules/extensions/pages/index.adoc6
-rw-r--r--docs/modules/extensions/pages/preprocessor.adoc4
-rw-r--r--docs/modules/extensions/pages/tree-processor.adoc4
3 files changed, 7 insertions, 7 deletions
diff --git a/docs/modules/extensions/pages/index.adoc b/docs/modules/extensions/pages/index.adoc
index 92e28e13..3b63e8f7 100644
--- a/docs/modules/extensions/pages/index.adoc
+++ b/docs/modules/extensions/pages/index.adoc
@@ -1,8 +1,8 @@
= Extensions
-:url-exten-lab: https://github.com/asciidoctor/asciidoctor-extensions-lab
+:url-ext-lab: https://github.com/asciidoctor/asciidoctor-extensions-lab
Extensions are central to the success of AsciiDoc because they open up the language to new use cases.
-Asciidoctor provides an https://www.rubydoc.info/gems/asciidoctor/Asciidoctor/Extensions[extension API] that offers a superset of extension points.
+Asciidoctor provides an {url-api}/asciidoctor/{release-version}/Asciidoctor/Extensions[extension API^] that offers a superset of extension points.
As a result, extensions in Asciidoctor are easy to write, powerful, and simple to distribute.
Asciidoctor also allows extensions to be written using the full power of a programming language (whether it be Ruby, Java, Groovy or JavaScript).
@@ -48,4 +48,4 @@ Include processor::
Processes the `include::<filename>[]` directive.
See xref:include-processor.adoc[].
-There are additional extension examples in the {url-exten-lab}[Asciidoctor extensions lab^].
+There are additional extension examples in the {url-ext-lab}[Asciidoctor extensions lab^].
diff --git a/docs/modules/extensions/pages/preprocessor.adoc b/docs/modules/extensions/pages/preprocessor.adoc
index 831a7761..0eba4f4b 100644
--- a/docs/modules/extensions/pages/preprocessor.adoc
+++ b/docs/modules/extensions/pages/preprocessor.adoc
@@ -1,7 +1,7 @@
-= Preprocessor Extensions
+= Preprocessor Extension
:navtitle: Preprocessor
-The https://www.rubydoc.info/gems/asciidoctor/Asciidoctor/Extensions/Preprocessor[Preprocessor] extension runs prior to the AsciiDoc source being parsed.
+The {url-api-gems}/asciidoctor/{release-version}/Asciidoctor/Extensions/Preprocessor[Preprocessor^] extension runs prior to the AsciiDoc source being parsed.
Specifically, it runs after the Document instance has been created and its PreprocessorReader has been initialized to start reading the lines of the source document.
[WARNING]
diff --git a/docs/modules/extensions/pages/tree-processor.adoc b/docs/modules/extensions/pages/tree-processor.adoc
index a670e2dd..39fedff9 100644
--- a/docs/modules/extensions/pages/tree-processor.adoc
+++ b/docs/modules/extensions/pages/tree-processor.adoc
@@ -1,7 +1,7 @@
-= Tree Processor Extensions
+= Tree Processor Extension
:navtitle: Tree Processor
-A https://www.rubydoc.info/gems/asciidoctor/Asciidoctor/Extensions/TreeProcessor[TreeProcessor] extension is run on the Document instance after the blocks in the source have been parsed into a document structure, as represented by the Document object and its child AbstractNode objects (e.g., Section, Block, List, ListItem).
+A {url-api-gems}/asciidoctor/{release-version}/Asciidoctor/Extensions/TreeProcessor[TreeProcessor^] extension is run on the Document instance after the blocks in the source have been parsed into a document structure, as represented by the Document object and its child AbstractNode objects (e.g., Section, Block, List, ListItem).
Asciidoctor invokes the `Processor#process` method on an instance of each registered TreeProcessor extension.