From 8876cee47b21ef2080a3172763f3bd5e8d88c7b3 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 3 Apr 2019 12:27:10 -0400 Subject: [PATCH 1/2] Switch Java REST client to Asciidoctor Switches the Elasticsearch Java REST client's docs from being generated by the no-longer-maintained AsciiDoc project to the maintained Asciidoctor project. It is *much* faster: AsciiDoc : 0m48.358s Asciidoctor: 0m10.436s --- conf.yaml | 1 + doc_build_aliases.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.yaml b/conf.yaml index ee5c3310e7107..f5e8c7306abd4 100644 --- a/conf.yaml +++ b/conf.yaml @@ -266,6 +266,7 @@ contents: tags: Clients/JavaREST subject: Clients chunk: 1 + asciidoctor: true sources: - repo: elasticsearch diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index 2d152e6db62f3..cc8b9ff5913a0 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -120,7 +120,7 @@ alias docbldpls='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs alias docbldepi='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/plugins/index.asciidoc --chunk 2' -alias docbldjvr='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/java-rest/index.asciidoc --chunk 1' +alias docbldjvr='$GIT_HOME/docs/build_docs --asciidoc --doc $GIT_HOME/elasticsearch/docs/java-rest/index.asciidoc --chunk 1' alias docbldejv='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/java-api/index.asciidoc --chunk 1' From 15d7d2b8bcb3464b443b2e0e9c8fa63785e9d7e4 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Wed, 10 Apr 2019 14:12:36 -0400 Subject: [PATCH 2/2] Update doc_build_aliases.sh Co-Authored-By: nik9000 --- doc_build_aliases.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index cc8b9ff5913a0..d2530d4833b73 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -120,7 +120,7 @@ alias docbldpls='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs alias docbldepi='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/plugins/index.asciidoc --chunk 2' -alias docbldjvr='$GIT_HOME/docs/build_docs --asciidoc --doc $GIT_HOME/elasticsearch/docs/java-rest/index.asciidoc --chunk 1' +alias docbldjvr='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch/docs/java-rest/index.asciidoc --chunk 1' alias docbldejv='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/java-api/index.asciidoc --chunk 1'