Skip to content

Commit 8e3b4c5

Browse files
committed
Add links to javadoc and source code (#73)
1 parent 00df502 commit 8e3b4c5

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

docs/index-local.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Allow building docs locally without a checkout of the Elasticsearch repo
22
:elasticsearch-root: {docdir}/local/elasticsearch
33

4+
// Version is needed to build locally, its value doesn't matter.
5+
:version: 7.16.2
46
include::index.asciidoc[]

docs/index.asciidoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
:branch: master
44
include::{asciidoc-dir}/../../shared/attributes.asciidoc[]
55

6-
:version: 7.17.0
76
:java-client: Java API Client
87
:doc-tests: {docdir}/../java-client/src/test/java/co/elastic/clients/documentation
98

@@ -12,8 +11,8 @@ include::installation.asciidoc[]
1211
include::connecting.asciidoc[]
1312
include::migrate.asciidoc[]
1413
include::api-conventions.asciidoc[]
14+
include::javadoc-and-source.asciidoc[]
1515

16-
:version!:
1716
:java-client!:
1817
:doc-tests!:
1918

docs/javadoc-and-source.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[[java-client-javadoc]]
2+
== Javadoc and source code
3+
4+
The javadoc for the {java-client} can be found at https://artifacts.elastic.co/javadoc/co/elastic/clients/elasticsearch-java/{version}/index.html.
5+
6+
The source code is at https://github.com/elastic/elasticsearch-java/ and is licensed under the Apache 2.0 License.

docs/javadoc.asciidoc

Whitespace-only changes.

0 commit comments

Comments
 (0)