From d02e4d35a3b56a2c1909284a5ada51d2aeabc5cf Mon Sep 17 00:00:00 2001 From: Sarah White Date: Tue, 22 Dec 2020 15:49:52 -0700 Subject: update AsciidoctorJ URLs to xrefs and page ID (PR #3888) --- docs/modules/ROOT/pages/features.adoc | 2 +- docs/modules/ROOT/pages/index.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/modules/ROOT') 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. -- cgit v1.2.3