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

Docs: Different edit_me overrides for asciidoctor #10989

Closed
wants to merge 1 commit into from

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Jul 24, 2019

We added support for setting edit_url to override the url in the
edit_me style links used by asciidoctor. This "override" doesn't
properly emulate asciidoc when you set the edit_url to an empty string
with lines like:

:edit_url:

While we could make it work the same way it is a conceptual mismatch
with the whole "override" mechanics. Thus I propose we change logstash
to use conditional evaluation in those lines. This does the right thing
for AsciiDoc and for Asciidoctor. Once we switch to the build to
Asciidoctor we can drop the conditions in a cleanup change.

We added support for setting `edit_url` to override the url in the
`edit_me` style links used by asciidoctor. This "override" doesn't
properly emulate asciidoc when you set the `edit_url` to an empty string
with lines like:
```
:edit_url:
```

While we *could* make it work the same way it is a conceptual mismatch
with the whole "override" mechanics. Thus I propose we change logstash
to use conditional evaluation in those lines. This does the right thing
for AsciiDoc and for Asciidoctor. Once we switch to the build to
Asciidoctor we can drop the conditions in a cleanup change.
@nik9000
Copy link
Member Author

nik9000 commented Jul 24, 2019

@elasticmachine, rerun tests

@nik9000
Copy link
Member Author

nik9000 commented Jan 3, 2020

I don't think this one is needed any more. At least, all of the lines it was targeting have changed since I opened it.

@nik9000 nik9000 closed this Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant