From ab373cced880e0ffd510e793463e33fb6733c3fa Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 4 Jul 2021 23:48:57 -0600 Subject: add more prominent link to Ruby API for Asciidoctor; update links to AsciidoctorJ and Asciidoctor.js on API page [skip ci] --- docs/modules/api/pages/index.adoc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'docs/modules/api') 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' -- cgit v1.2.3