Skip to content

Commit

Permalink
[DOCS] Add beat specific start widgets (elastic#21217) (elastic#21245)
Browse files Browse the repository at this point in the history
* Add beat specific start widget

* Add package name attribute
  • Loading branch information
EamonnTP authored Sep 24, 2020
1 parent d580854 commit 5445fca
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 0 deletions.
115 changes: 115 additions & 0 deletions libbeat/docs/tab-widgets/start-widget-filebeat.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
:beatname_uc: Filebeat
:beatname_lc: filebeat
:beatname_pkg: filebeat
++++
<div class="tabs" data-tab-group="os">
<div role="tablist" aria-label="Start-f">
<button role="tab"
aria-selected="true"
aria-controls="deb-tab-start-filebeat"
id="deb-start-filebeat">
DEB
</button>
<button role="tab"
aria-selected="false"
aria-controls="rpm-tab-start-filebeat"
id="rpm-start-filebeat"
tabindex="-1">
RPM
</button>
<button role="tab"
aria-selected="false"
aria-controls="mac-tab-start-filebeat"
id="mac-start-filebeat"
tabindex="-1">
MacOS
</button>
<button role="tab"
aria-selected="false"
aria-controls="brew-tab-start-filebeat"
id="brew-start-filebeat"
tabindex="-1">
Brew
</button>
<button role="tab"
aria-selected="false"
aria-controls="linux-tab-start-filebeat"
id="linux-start-filebeat"
tabindex="-1">
Linux
</button>
<button role="tab"
aria-selected="false"
aria-controls="win-tab-start-filebeat"
id="win-start-filebeat"
tabindex="-1">
Windows
</button>
</div>
<div tabindex="0"
role="tabpanel"
id="deb-tab-start-filebeat"
aria-labelledby="deb-start-filebeat">
++++

include::start.asciidoc[tag=deb]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="rpm-tab-start-filebeat"
aria-labelledby="rpm-start-filebeat"
hidden="">
++++

include::start.asciidoc[tag=rpm]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="mac-tab-start-filebeat"
aria-labelledby="mac-start-filebeat"
hidden="">
++++

include::start.asciidoc[tag=mac]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="brew-tab-start-filebeat"
aria-labelledby="brew-start-filebeat"
hidden="">
++++

include::start.asciidoc[tag=brew]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="linux-tab-start-filebeat"
aria-labelledby="linux-start-filebeat"
hidden="">
++++

include::start.asciidoc[tag=linux]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="win-tab-start-filebeat"
aria-labelledby="win-start-filebeat"
hidden="">
++++

include::start.asciidoc[tag=win]

++++
</div>
</div>
++++
115 changes: 115 additions & 0 deletions libbeat/docs/tab-widgets/start-widget-heartbeat.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
:beatname_uc: Heartbeat
:beatname_lc: heartbeat
:beatname_pkg: heartbeat
++++
<div class="tabs" data-tab-group="os">
<div role="tablist" aria-label="Start-h">
<button role="tab"
aria-selected="true"
aria-controls="deb-tab-start-heartbeat"
id="deb-start-heartbeat">
DEB
</button>
<button role="tab"
aria-selected="false"
aria-controls="rpm-tab-start-heartbeat"
id="rpm-start-heartbeat"
tabindex="-1">
RPM
</button>
<button role="tab"
aria-selected="false"
aria-controls="mac-tab-start-heartbeat"
id="mac-start-heartbeat"
tabindex="-1">
MacOS
</button>
<button role="tab"
aria-selected="false"
aria-controls="brew-tab-start-heartbeat"
id="brew-start-heartbeat"
tabindex="-1">
Brew
</button>
<button role="tab"
aria-selected="false"
aria-controls="linux-tab-start-heartbeat"
id="linux-start-heartbeat"
tabindex="-1">
Linux
</button>
<button role="tab"
aria-selected="false"
aria-controls="win-tab-start-heartbeat"
id="win-start-heartbeat"
tabindex="-1">
Windows
</button>
</div>
<div tabindex="0"
role="tabpanel"
id="deb-tab-start-heartbeat"
aria-labelledby="deb-start-heartbeat">
++++

include::start.asciidoc[tag=deb]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="rpm-tab-start-heartbeat"
aria-labelledby="rpm-start-heartbeat"
hidden="">
++++

include::start.asciidoc[tag=rpm]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="mac-tab-start-heartbeat"
aria-labelledby="mac-start-heartbeat"
hidden="">
++++

include::start.asciidoc[tag=mac]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="brew-tab-start-heartbeat"
aria-labelledby="brew-start-heartbeat"
hidden="">
++++

include::start.asciidoc[tag=brew]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="linux-tab-start-heartbeat"
aria-labelledby="linux-start-heartbeat"
hidden="">
++++

include::start.asciidoc[tag=linux]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="win-tab-start-heartbeat"
aria-labelledby="win-start-heartbeat"
hidden="">
++++

include::start.asciidoc[tag=win]

++++
</div>
</div>
++++
115 changes: 115 additions & 0 deletions libbeat/docs/tab-widgets/start-widget-metricbeat.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
:beatname_uc: Metricbeat
:beatname_lc: metricbeat
:beatname_pkg: metricbeat
++++
<div class="tabs" data-tab-group="os">
<div role="tablist" aria-label="Start-m">
<button role="tab"
aria-selected="true"
aria-controls="deb-tab-start-metricbeat"
id="deb-start-metricbeat">
DEB
</button>
<button role="tab"
aria-selected="false"
aria-controls="rpm-tab-start-metricbeat"
id="rpm-start-metricbeat"
tabindex="-1">
RPM
</button>
<button role="tab"
aria-selected="false"
aria-controls="mac-tab-start-metricbeat"
id="mac-start-metricbeat"
tabindex="-1">
MacOS
</button>
<button role="tab"
aria-selected="false"
aria-controls="brew-tab-start-metricbeat"
id="brew-start-metricbeat"
tabindex="-1">
Brew
</button>
<button role="tab"
aria-selected="false"
aria-controls="linux-tab-start-metricbeat"
id="linux-start-metricbeat"
tabindex="-1">
Linux
</button>
<button role="tab"
aria-selected="false"
aria-controls="win-tab-start-metricbeat"
id="win-start-metricbeat"
tabindex="-1">
Windows
</button>
</div>
<div tabindex="0"
role="tabpanel"
id="deb-tab-start-metricbeat"
aria-labelledby="deb-start-metricbeat">
++++

include::start.asciidoc[tag=deb]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="rpm-tab-start-metricbeat"
aria-labelledby="rpm-start-metricbeat"
hidden="">
++++

include::start.asciidoc[tag=rpm]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="mac-tab-start-metricbeat"
aria-labelledby="mac-start-metricbeat"
hidden="">
++++

include::start.asciidoc[tag=mac]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="brew-tab-start-metricbeat"
aria-labelledby="brew-start-metricbeat"
hidden="">
++++

include::start.asciidoc[tag=brew]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="linux-tab-start-metricbeat"
aria-labelledby="linux-start-metricbeat"
hidden="">
++++

include::start.asciidoc[tag=linux]

++++
</div>
<div tabindex="0"
role="tabpanel"
id="win-tab-start-metricbeat"
aria-labelledby="win-start-metricbeat"
hidden="">
++++

include::start.asciidoc[tag=win]

++++
</div>
</div>
++++

0 comments on commit 5445fca

Please sign in to comment.