mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Docs: Fix backticks in how to docs (#11018)
In the "methods" sections of the how to develop a plugin docs Asciidoctor as incorrectly passing backticks into the output when it should have marked the words surrounded by backticks as code. I'm not 100% sure why it did that. The fix is to force macro evaluation immediately on attribute assignment.
This commit is contained in:
parent
334b874beb
commit
0e90733c84
4 changed files with 4 additions and 4 deletions
2
docs/static/codec.asciidoc
vendored
2
docs/static/codec.asciidoc
vendored
|
@ -10,6 +10,6 @@
|
|||
|
||||
:getstarted: Let's step through creating a {plugintype} plugin using the https://github.com/logstash-plugins/logstash-codec-example/[example {plugintype} plugin].
|
||||
|
||||
:methodheader: Logstash codecs must implement the `register` method, and the `decode` method or the `encode` method (or both).
|
||||
:methodheader: pass:m[Logstash codecs must implement the `register` method, and the `decode` method or the `encode` method (or both).]
|
||||
|
||||
include::include/pluginbody.asciidoc[]
|
||||
|
|
2
docs/static/filter.asciidoc
vendored
2
docs/static/filter.asciidoc
vendored
|
@ -9,6 +9,6 @@
|
|||
|
||||
:getstarted: Let's step through creating a {plugintype} plugin using the https://github.com/logstash-plugins/logstash-filter-example/[example {plugintype} plugin].
|
||||
|
||||
:methodheader: Logstash filters must implement the `register` and `filter` methods.
|
||||
:methodheader: pass:m[Logstash filters must implement the `register` and `filter` methods.]
|
||||
|
||||
include::include/pluginbody.asciidoc[]
|
||||
|
|
2
docs/static/input.asciidoc
vendored
2
docs/static/input.asciidoc
vendored
|
@ -7,6 +7,6 @@
|
|||
|
||||
:getstarted: Let's step through creating an {plugintype} plugin using the https://github.com/logstash-plugins/logstash-input-example/[example {plugintype} plugin].
|
||||
|
||||
:methodheader: Logstash inputs must implement two main methods: `register` and `run`.
|
||||
:methodheader: pass:m[Logstash inputs must implement two main methods: `register` and `run`.]
|
||||
|
||||
include::include/pluginbody.asciidoc[]
|
||||
|
|
2
docs/static/output.asciidoc
vendored
2
docs/static/output.asciidoc
vendored
|
@ -9,6 +9,6 @@
|
|||
|
||||
:getstarted: Let's step through creating an {plugintype} plugin using the https://github.com/logstash-plugins/logstash-output-example/[example {plugintype} plugin].
|
||||
|
||||
:methodheader: Logstash outputs must implement the `register` and `multi_receive` methods.
|
||||
:methodheader: pass:m[Logstash outputs must implement the `register` and `multi_receive` methods.]
|
||||
|
||||
include::include/pluginbody.asciidoc[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue