[DOCS] Call shared index files to build Elasticsearch Ref (elastic/x-pack-elasticsearch#1776)

* [DOCS] Call shared index files to build Elasticsearch Ref

* [DOCS] Fix path and edit URL for Elasticsearch build

Original commit: elastic/x-pack-elasticsearch@626d6d79d8
This commit is contained in:
Lisa Cawley 2017-06-19 13:33:00 -07:00 committed by GitHub
parent 3854e0aee7
commit 59d7484611
4 changed files with 24 additions and 120 deletions

View File

@ -1,62 +0,0 @@
:version: 6.0.0-alpha2
:major-version: 6.x
:lucene_version: 7.0.0-SNAPSHOT
:lucene_version_path: 7_0_0
:branch: master
:jdk: 1.8.0_131
//////////
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
: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
:es: Elasticsearch
:kib: Kibana
:dfeed: datafeed
:dfeeds: datafeeds
:dfeed-cap: Datafeed
:dfeeds-cap: Datafeeds
:xes-repo-dir: {docdir}
///////
Javadoc roots used to generate links from Painless's API reference
///////
:java8-javadoc: https://docs.oracle.com/javase/8/docs/api
:java9-javadoc: http://download.java.net/java/jigsaw/docs/api
:joda-time-javadoc: http://www.joda.org/joda-time/apidocs
:lucene-core-javadoc: http://lucene.apache.org/core/{lucene_version_path}/core
ifeval::["{release-state}"=="unreleased"]
:elasticsearch-javadoc: https://snapshots.elastic.co/javadoc/org/elasticsearch/elasticsearch/{version}-SNAPSHOT
:painless-javadoc: https://snapshots.elastic.co/javadoc/org/elasticsearch/painless/lang-painless/{version}-SNAPSHOT
endif::[]
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::[]

View File

@ -3,9 +3,31 @@
:include-xpack: true
:xes-repo-dir: {docdir}
:es-repo-dir: {docdir}/../../../../elasticsearch/docs
:es-test-dir: {docdir}/../../../../elasticsearch/docs/src/test
:plugins-examples-dir: {docdir}/../../../../elasticsearch/plugins/examples
include::Versions.asciidoc[]
include::index-shared.asciidoc[]
: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
include::{es-repo-dir}/Versions.asciidoc[]
include::{es-repo-dir}/reference/index-shared1.asciidoc[]
include::{es-repo-dir}/reference/index-shared2.asciidoc[]
ifdef::include-xpack[]
:edit_url!:
include::rest-api/index.asciidoc[]
endif::include-xpack[]
include::{es-repo-dir}/reference/index-shared3.asciidoc[]

View File

@ -1,47 +0,0 @@
include::{es-repo-dir}/reference/getting-started.asciidoc[]
include::{es-repo-dir}/reference/setup.asciidoc[]
include::{es-repo-dir}/reference/migration/index.asciidoc[]
include::{es-repo-dir}/reference/api-conventions.asciidoc[]
include::{es-repo-dir}/reference/docs.asciidoc[]
include::{es-repo-dir}/reference/search.asciidoc[]
include::{es-repo-dir}/reference/aggregations.asciidoc[]
include::{es-repo-dir}/reference/indices.asciidoc[]
include::{es-repo-dir}/reference/cat.asciidoc[]
include::{es-repo-dir}/reference/cluster.asciidoc[]
ifdef::include-xpack[]
include::rest-api/index.asciidoc[]
endif::include-xpack[]
include::{es-repo-dir}/reference/query-dsl.asciidoc[]
include::{es-repo-dir}/reference/mapping.asciidoc[]
include::{es-repo-dir}/reference/analysis.asciidoc[]
include::{es-repo-dir}/reference/modules.asciidoc[]
include::{es-repo-dir}/reference/index-modules.asciidoc[]
include::{es-repo-dir}/reference/ingest.asciidoc[]
include::{es-repo-dir}/reference/how-to.asciidoc[]
include::{es-repo-dir}/reference/testing.asciidoc[]
include::{es-repo-dir}/reference/glossary.asciidoc[]
include::{es-repo-dir}/reference/release-notes.asciidoc[]
include::{es-repo-dir}/reference/redirects.asciidoc[]

View File

@ -1,9 +0,0 @@
[[elasticsearch-reference]]
= Elasticsearch Reference
:es-repo-dir: {docdir}/../../../../elasticsearch/docs
:es-test-dir: {docdir}/../../../../elasticsearch/docs/src/test
:plugins-examples-dir: {docdir}/../../../../elasticsearch/plugins/examples
include::Versions.asciidoc[]
include::index-shared.asciidoc[]