From 91691168e97b98f3ce32bb20ad385fd9a592b835 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 13 Mar 2019 15:45:58 -0400 Subject: [PATCH] Switch APM Agent for Ruby to Asciidoctor Switches the core of the build for the APM Agent for Ruby docs from the end-of-life AsciiDoc to the actively maintained Asciidoctor. The HTML differences are mostly whitespace but there are two "real" differences: 1. The edit url for the section at `api.html#api-context` goes to `index.asciidoc` in AsciiDoc and `api.asciidoc` in AsciiDoctor. AsciiDoctor seems more right here. 2. Empty table cells do not have an empty paragraph tag in them. --- conf.yaml | 1 + doc_build_aliases.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.yaml b/conf.yaml index 5642b645d120c..19b6a8eed50c9 100644 --- a/conf.yaml +++ b/conf.yaml @@ -904,6 +904,7 @@ contents: tags: APM Ruby Agent/Reference subject: APM chunk: 1 + asciidoctor: true sources: - repo: apm-agent-ruby diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index b13fc42562758..d6591c6e725b3 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -86,7 +86,7 @@ alias docbldamn='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-nodejs/d alias docbldamp='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-python/docs/index.asciidoc --chunk 1' -alias docbldamry='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-ruby/docs/index.asciidoc --chunk 1' +alias docbldamry='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-ruby/docs/index.asciidoc --chunk 1' alias docbldamj='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-java/docs/index.asciidoc --chunk 1'