summaryrefslogtreecommitdiff
path: root/docs/modules/ROOT
diff options
context:
space:
mode:
authorSarah White <graphitefriction@gmail.com>2020-12-22 15:49:52 -0700
committerGitHub <noreply@github.com>2020-12-22 15:49:52 -0700
commitd02e4d35a3b56a2c1909284a5ada51d2aeabc5cf (patch)
treed971c744934bf5973271fa36c7595ae080352367 /docs/modules/ROOT
parent4d2e89cb49755ff483a33a936ec404b287ce2e07 (diff)
update AsciidoctorJ URLs to xrefs and page ID (PR #3888)
Diffstat (limited to 'docs/modules/ROOT')
-rw-r--r--docs/modules/ROOT/pages/features.adoc2
-rw-r--r--docs/modules/ROOT/pages/index.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/modules/ROOT/pages/features.adoc b/docs/modules/ROOT/pages/features.adoc
index e091af55..d6fc4141 100644
--- a/docs/modules/ROOT/pages/features.adoc
+++ b/docs/modules/ROOT/pages/features.adoc
@@ -12,7 +12,7 @@ Asciidoctor itself has no dependencies.
But what if you aren't familiar with Ruby or, for whatever reason, prefer not to install it?
No problem!
-Thanks to {url-asciidoctorj}[AsciidoctorJ^] and xref:asciidoctor.js::index.adoc[Asciidoctor.js], you can run the same exact version of Asciidoctor on a Java Virtual Machine (JVM) or JavaScript runtime, respectively.
+Thanks to xref:asciidoctorj::index.adoc[AsciidoctorJ] and xref:asciidoctor.js::index.adoc[Asciidoctor.js], you can run the same exact version of Asciidoctor on a Java Virtual Machine (JVM) or JavaScript runtime, respectively.
That means you don't need a Ruby runtime installed on your machine after all.
AsciidoctorJ uses JRuby internally, whereas Asciidoctor.js relies on a Ruby-like runtime written in JavaScript.
diff --git a/docs/modules/ROOT/pages/index.adoc b/docs/modules/ROOT/pages/index.adoc
index d74c563f..df0f6e7a 100644
--- a/docs/modules/ROOT/pages/index.adoc
+++ b/docs/modules/ROOT/pages/index.adoc
@@ -80,7 +80,7 @@ You can also run Asciidoctor using a JVM or JavaScript.
=== Java / JVM
-Thanks to {url-asciidoctorj}[AsciidoctorJ^], Asciidoctor can be used in any program that runs on a Java Virtual Machine (JVM).
+Thanks to xref:asciidoctorj::index.adoc[AsciidoctorJ], Asciidoctor can be used in any program that runs on a Java Virtual Machine (JVM).
Under the covers, AsciidoctorJ uses JRuby to run Asciidoctor, but this is hidden behind a Java API.
AsciidoctorJ even provides an alternate CLI, which means you can get the full Asciidoctor experience with only a Java runtime.
Building atop AsciidoctorJ, there are also plugins that integrate Asciidoctor into Apache Maven, Gradle, or Javadoc builds.