[DOCS] Update docs to use shared attribute file (#25403)

* [DOCS] Update docs to use shared attribute file

* [DOCS] Add shared attributes to Versions.asciidoc
This commit is contained in:
Lisa Cawley 2017-06-27 08:33:28 -07:00 committed by GitHub
parent 9b3768204b
commit 03f952a838
4 changed files with 40 additions and 21 deletions

View File

@ -11,24 +11,15 @@ release-state can be: released | prerelease | unreleased
:release-state: prerelease
:ref: https://www.elastic.co/guide/en/elasticsearch/reference/{branch}
:defguide: https://www.elastic.co/guide/en/elasticsearch/guide/master
:painless: https://www.elastic.co/guide/en/elasticsearch/painless/master
:plugins: https://www.elastic.co/guide/en/elasticsearch/plugins/{branch}
:javaclient: https://www.elastic.co/guide/en/elasticsearch/client/java-api/{branch}
:xpack-ref: https://www.elastic.co/guide/en/x-pack/{branch}
:logstash: https://www.elastic.co/guide/en/logstash/{branch}
:kibana: https://www.elastic.co/guide/en/kibana/{branch}
:issue: https://github.com/elastic/elasticsearch/issues/
:pull: https://github.com/elastic/elasticsearch/pull/
:docker-image: docker.elastic.co/elasticsearch/elasticsearch:{version}
:plugin_url: https://artifacts.elastic.co/downloads/elasticsearch-plugins
:xpack: X-Pack
:es: Elasticsearch
:kib: Kibana
///////
Javadoc roots used to generate links from Painless's API reference
///////
@ -46,3 +37,30 @@ ifeval::["{release-state}"!="unreleased"]
:elasticsearch-javadoc: https://artifacts.elastic.co/javadoc/org/elasticsearch/elasticsearch/{version}
:painless-javadoc: https://artifacts.elastic.co/javadoc/org/elasticsearch/painless/lang-painless/{version}
endif::[]
//////////
The following attributes are synchronized across multiple books
//////////
:ref: https://www.elastic.co/guide/en/elasticsearch/reference/{branch}
:xpack-ref: https://www.elastic.co/guide/en/x-pack/{branch}
:logstash-ref: http://www.elastic.co/guide/en/logstash/{branch}
:kibana-ref: https://www.elastic.co/guide/en/kibana/{branch}
:stack-ref: http://www.elastic.co/guide/en/elastic-stack/{branch}
:javaclient: https://www.elastic.co/guide/en/elasticsearch/client/java-api/{branch}
:xpack: X-Pack
:es: Elasticsearch
:kib: Kibana
:security: X-Pack security
:monitoring: X-Pack monitoring
:watcher: Watcher
:reporting: X-Pack reporting
:graph: X-Pack graph
:searchprofiler: X-Pack search profiler
:xpackml: X-Pack machine learning
:ml: machine learning
:dfeed: datafeed
:dfeeds: datafeeds
:dfeed-cap: Datafeed
:dfeeds-cap: Datafeeds

View File

@ -41,13 +41,13 @@ releases 2.0 and later do not support rivers.
[float]
==== Supported by Elasticsearch:
* {logstash}/plugins-outputs-elasticsearch.html[Logstash output to Elasticsearch]:
* {logstash-ref}/plugins-outputs-elasticsearch.html[Logstash output to Elasticsearch]:
The Logstash `elasticsearch` output plugin.
* {logstash}/plugins-inputs-elasticsearch.html[Elasticsearch input to Logstash]
* {logstash-ref}/plugins-inputs-elasticsearch.html[Elasticsearch input to Logstash]
The Logstash `elasticsearch` input plugin.
* {logstash}/plugins-filters-elasticsearch.html[Elasticsearch event filtering in Logstash]
* {logstash-ref}/plugins-filters-elasticsearch.html[Elasticsearch event filtering in Logstash]
The Logstash `elasticsearch` filter plugin.
* {logstash}/plugins-codecs-es_bulk.html[Elasticsearch bulk codec]
* {logstash-ref}/plugins-codecs-es_bulk.html[Elasticsearch bulk codec]
The Logstash `es_bulk` plugin decodes the Elasticsearch bulk format into individual events.
[float]

View File

@ -264,7 +264,7 @@ Now that we have our node (and cluster) up and running, the next step is to unde
Let's start with a basic health check, which we can use to see how our cluster is doing. We'll be using curl to do this but you can use any tool that allows you to make HTTP/REST calls. Let's assume that we are still on the same node where we started Elasticsearch on and open another command shell window.
To check the cluster health, we will be using the <<cat,`_cat` API>>. You can
run the command below in {kibana}/console-kibana.html[Kibana's Console]
run the command below in {kibana-ref}/console-kibana.html[Kibana's Console]
by clicking "VIEW IN CONSOLE" or with `curl` by clicking the "COPY AS CURL"
link below and pasting it into a terminal.

View File

@ -3,6 +3,7 @@
:es-test-dir: {docdir}/../src/test
:plugins-examples-dir: {docdir}/../../plugins/examples
:docs-dir: {docdir}/../../../docs
include::../Versions.asciidoc[]
include::index-shared1.asciidoc[]