diff options
| author | Sarah White <graphitefriction@gmail.com> | 2020-12-22 15:49:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-22 15:49:52 -0700 |
| commit | d02e4d35a3b56a2c1909284a5ada51d2aeabc5cf (patch) | |
| tree | d971c744934bf5973271fa36c7595ae080352367 /docs/modules | |
| parent | 4d2e89cb49755ff483a33a936ec404b287ce2e07 (diff) | |
update AsciidoctorJ URLs to xrefs and page ID (PR #3888)
Diffstat (limited to 'docs/modules')
| -rw-r--r-- | docs/modules/ROOT/pages/features.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/ROOT/pages/index.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/api/pages/index.adoc | 2 | ||||
| -rw-r--r-- | docs/modules/install/pages/index.adoc | 2 |
4 files changed, 4 insertions, 4 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. diff --git a/docs/modules/api/pages/index.adoc b/docs/modules/api/pages/index.adoc index 6a53b4b1..1d6d0c6d 100644 --- a/docs/modules/api/pages/index.adoc +++ b/docs/modules/api/pages/index.adoc @@ -11,7 +11,7 @@ The API is intended for integration with other software projects and is suitable Asciidoctor also has a Java API that mirrors the Ruby API. The Java API calls through to the Ruby API using an embedded JRuby runtime. -See the AsciidoctorJ documentation for more information. +See the xref:asciidoctorj::index.adoc[AsciidoctorJ documentation] for more information. == Load and convert a document using the API diff --git a/docs/modules/install/pages/index.adoc b/docs/modules/install/pages/index.adoc index 1cfcaa2c..182b4a83 100644 --- a/docs/modules/install/pages/index.adoc +++ b/docs/modules/install/pages/index.adoc @@ -2,7 +2,7 @@ To simplify installation, Asciidoctor is packaged and distributed as a {url-rubygem}/asciidoctor[RubyGem to the package repository at RubyGems.org^]. It's also distributed as a package for popular Linux distributions and macOS. -In addition to running on Ruby, Asciidoctor can be executed on a JVM using {url-asciidoctorj}[AsciidoctorJ^] or in any JavaScript environment (including the browser) using xref:asciidoctor.js::index.adoc[Asciidoctor.js]. +In addition to running on Ruby, Asciidoctor can be executed on a JVM using xref:asciidoctorj::index.adoc[AsciidoctorJ] or in any JavaScript environment (including the browser) using xref:asciidoctor.js::index.adoc[Asciidoctor.js]. == Installation methods |
