Skip to content

Commit 0308dba

Browse files
authored
Switch APM Agent for Go to Asciidoctor (#710)
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.
1 parent 646b541 commit 0308dba

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -930,6 +930,7 @@ contents:
930930
tags: APM Go Agent/Reference
931931
subject: APM
932932
chunk: 1
933+
asciidoctor: true
933934
sources:
934935
-
935936
repo: apm-agent-go

doc_build_aliases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ alias docbldamj='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-age
9292

9393
alias docbldamjs='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-rum-js/docs/index.asciidoc --chunk 1'
9494

95-
alias docbldamgo='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/apm-agent-go/docs/index.asciidoc --chunk 1'
95+
alias docbldamgo='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-go/docs/index.asciidoc --chunk 1'
9696

9797
alias docbldamnet='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/apm-agent-dotnet/docs/index.asciidoc --chunk 1'
9898

0 commit comments

Comments
 (0)