Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch APM Agent for Go to Asciidoctor #710

Merged
merged 1 commit into from
Mar 13, 2019

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Mar 12, 2019

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.

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.
@nik9000 nik9000 requested review from axw and bmorelli25 March 12, 2019 21:32
@nik9000
Copy link
Member Author

nik9000 commented Mar 12, 2019

Here is how the html differs. You can test the change locally using the command in the aliases file.

@nik9000 nik9000 mentioned this pull request Mar 12, 2019
Copy link
Member

@bmorelli25 bmorelli25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your diff link is 404ing for me, but a local build looks good. Curious to hear from Andrew if that space to tab change is an issue.

Copy link
Member

@axw axw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tabs is actually better, since that's the standard formatting for Go code. Thanks!

@nik9000 nik9000 merged commit 0308dba into elastic:master Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants