mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
[Docs] Asciidoctor support (#10730)
Ports elastic/logstash-docs#688 to this repo. Asciidoctor doesn't quite work on this repo, but it comes closer with these changes.
This commit is contained in:
parent
5d64a61c21
commit
0793bf1f5a
3 changed files with 9 additions and 2 deletions
|
@ -152,7 +152,8 @@ a new input will not override the existing type. A type set at
|
|||
the shipper stays with that event for its life even
|
||||
when sent to another Logstash server.
|
||||
|
||||
ifeval::["{type}"=="input" and "{plugin}"=="beats"]
|
||||
ifeval::["{type}"=="input"]
|
||||
ifeval::["{plugin}"=="beats"]
|
||||
|
||||
ifeval::["{versioned_docs}"!="true"]
|
||||
NOTE: The Beats shipper automatically sets the `type` field on the event.
|
||||
|
@ -168,4 +169,5 @@ Logstash, it is ignored.
|
|||
endif::[]
|
||||
|
||||
endif::[]
|
||||
endif::[]
|
||||
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
ifeval::["{versioned_docs}"!="true"]
|
||||
[subs="attributes"]
|
||||
++++
|
||||
<titleabbrev>{plugin}</titleabbrev>
|
||||
++++
|
||||
endif::[]
|
||||
ifeval::["{versioned_docs}"=="true"]
|
||||
[subs="attributes"]
|
||||
++++
|
||||
<titleabbrev>{version}</titleabbrev>
|
||||
++++
|
||||
|
@ -28,12 +30,14 @@ To learn more about Logstash, see the {logstash-ref}/index.html[Logstash Referen
|
|||
|
||||
endif::[]
|
||||
|
||||
ifeval::[("{default_plugin}"=="0") and ("{versioned_docs}"!="true")]
|
||||
ifeval::["{default_plugin}"=="0"]
|
||||
ifeval::["{versioned_docs}"!="true"]
|
||||
|
||||
==== Installation
|
||||
|
||||
For plugins not bundled by default, it is easy to install by running +bin/logstash-plugin install logstash-{type}-{plugin}+. See {logstash-ref}/working-with-plugins.html[Working with plugins] for more details.
|
||||
|
||||
endif::[]
|
||||
endif::[]
|
||||
|
||||
==== Getting Help
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
[id="{type}-{plugin}-index"]
|
||||
|
||||
== Versioned {plugin} {type} plugin docs
|
||||
[subs="attributes"]
|
||||
++++
|
||||
<titleabbrev>{plugin}</titleabbrev>
|
||||
++++
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue