Skip to content

Commit 9e6f396

Browse files
authored
Switch Painless reference to Asciidoctor (#783)
Switches the painless reference book from the no-longer-maintained AsciiDoc backend to the actively-maintained Asciidoctor backend. In the process this speeds up the build by a factor of three.
1 parent 5b36995 commit 9e6f396

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ contents:
237237
chunk: 1
238238
tags: Elasticsearch/Painless
239239
subject: Elasticsearch
240+
asciidoctor: true
240241
sources:
241242
-
242243
repo: elasticsearch

doc_build_aliases.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ alias docblddg='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch-defin
116116
# Elasticsearch Extras
117117
alias docbldres='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch/docs/resiliency/index.asciidoc --single'
118118

119-
alias docbldpls='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/painless/index.asciidoc --chunk 1'
119+
alias docbldpls='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch/docs/painless/index.asciidoc --chunk 1'
120120

121121
alias docbldepi='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs/plugins/index.asciidoc --chunk 2'
122122

0 commit comments

Comments
 (0)