summaryrefslogtreecommitdiff
path: root/docs/modules/api
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-07-04 23:48:57 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-06 02:11:04 -0600
commitab373cced880e0ffd510e793463e33fb6733c3fa (patch)
treefadaf3044442729173fbd324763d309bc260cc30 /docs/modules/api
parentdae5b3eb6b5b58e8ea1cbcebb82a874f058e2abd (diff)
add more prominent link to Ruby API for Asciidoctor; update links to AsciidoctorJ and Asciidoctor.js on API page [skip ci]
Diffstat (limited to 'docs/modules/api')
-rw-r--r--docs/modules/api/pages/index.adoc11
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/modules/api/pages/index.adoc b/docs/modules/api/pages/index.adoc
index 6510d907..692a466b 100644
--- a/docs/modules/api/pages/index.adoc
+++ b/docs/modules/api/pages/index.adoc
@@ -3,19 +3,14 @@
////
API introduction for Asciidoctor
included in the user-manual Quickstarts, Using the Ruby API
-doc-asciidoctorj is now url-asciidoctorj-docs but! that means I need to fix docref: link:/docs and doc-asciidoctorj: {docref}/asciidoctorj
////
-In addition to its CLI, Asciidoctor provides a Ruby API.
-The API is intended for integration with other Ruby software, such as Rails, GitHub, and GitLab, as well as other languages, such as Java (via AsciidoctorJ) and JavaScript (via Asciidoctor.js).
-
-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 xref:asciidoctorj::index.adoc[AsciidoctorJ documentation] for more information.
+In addition to its CLI, Asciidoctor provides a {url-api}[Ruby API^] named `Asciidoctor`.
+This API is intended for integration with other Ruby software, such as Rails, GitHub, and GitLab, as well as other languages, such as Java (via xref:asciidoctorj::index.adoc[AsciidoctorJ]) and JavaScript (via xref:asciidoctor.js::index.adoc[Asciidoctor.js]).
== Load and convert a document using the API
-To use Asciidoctor in your application, you first need to require the gem:
+To use the Asciidoctor API in your application, you first need to require the gem:
[source,ruby]
require 'asciidoctor'