From 6af6a50582afa05563af14105b34a5136c08b75e Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Tue, 12 Mar 2019 17:28:17 -0400 Subject: [PATCH] Switch APM Agent for Go to Asciidoctor Switches the core of the process that builds the docs for the APM Agent for Go from the no-longer-supports AsciiDoc to the supported Asciidoctor. The html output is slightly different - mostly spacing which is generally ignored by the browser. It *does* change the spacing in front of the go source from a leading eight spaces to a leading tab. These look the same to me in the browser but copy-and-pasting them comes out slightly differently. --- conf.yaml | 1 + doc_build_aliases.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.yaml b/conf.yaml index c9d32e6279a58..c72c77d2f2a7f 100644 --- a/conf.yaml +++ b/conf.yaml @@ -930,6 +930,7 @@ contents: tags: APM Go Agent/Reference subject: APM chunk: 1 + asciidoctor: true sources: - repo: apm-agent-go diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index 0718431d523f5..b13fc42562758 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -92,7 +92,7 @@ alias docbldamj='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-age alias docbldamjs='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-rum-js/docs/index.asciidoc --chunk 1' -alias docbldamgo='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-go/docs/index.asciidoc --chunk 1' +alias docbldamgo='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-go/docs/index.asciidoc --chunk 1' alias docbldamnet='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-dotnet/docs/index.asciidoc --chunk 1'