diff --git a/docs/index-local.asciidoc b/docs/index-local.asciidoc index 48b04093a..8f049f04e 100644 --- a/docs/index-local.asciidoc +++ b/docs/index-local.asciidoc @@ -1,4 +1,6 @@ // Allow building docs locally without a checkout of the Elasticsearch repo :elasticsearch-root: {docdir}/local/elasticsearch +// Version is needed to build locally, its value doesn't matter. +:version: 7.16.2 include::index.asciidoc[] diff --git a/docs/index.asciidoc b/docs/index.asciidoc index 9eec09a04..711b054d1 100644 --- a/docs/index.asciidoc +++ b/docs/index.asciidoc @@ -3,7 +3,6 @@ :branch: master include::{asciidoc-dir}/../../shared/attributes.asciidoc[] -:version: 7.16.0 :java-client: Java API Client :doc-tests: {docdir}/../java-client/src/test/java/co/elastic/clients/documentation @@ -12,8 +11,8 @@ include::installation.asciidoc[] include::connecting.asciidoc[] include::migrate.asciidoc[] include::api-conventions.asciidoc[] +include::javadoc-and-source.asciidoc[] -:version!: :java-client!: :doc-tests!: diff --git a/docs/javadoc-and-source.asciidoc b/docs/javadoc-and-source.asciidoc new file mode 100644 index 000000000..3f02070e2 --- /dev/null +++ b/docs/javadoc-and-source.asciidoc @@ -0,0 +1,6 @@ +[[java-client-javadoc]] +== Javadoc and source code + +The javadoc for the {java-client} can be found at https://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/{version}/index.html. + +The source code is at https://github.com/elastic/elasticsearch-java/ and is licensed under the Apache 2.0 License.