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:
Nik Everett 2019-08-21 09:07:12 -04:00
parent 334b874beb
commit 0e90733c84
4 changed files with 4 additions and 4 deletions

View file

@ -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[]

View file

@ -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[]

View file

@ -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[]

View file

@ -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[]