From 47b5baaf7291cea462035a48de5495eec4948617 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Fri, 8 Mar 2019 14:50:04 -0500 Subject: [PATCH] Switch the PHP client to Asciidoctor Switches the PHP client's doc to being built from Asciidoctor. The resulting html has quite a few changes spacing changes that aren't impactful and a couple of small changes that look fine visually. There are a few changes to auto-generated IDs that we've grown to expect from asciidoctor. They seem fine to me. Here is the diff: https://gist.github.com/nik9000/72113b441f682b116b7b41a2b78baed6 --- conf.yaml | 1 + doc_build_aliases.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.yaml b/conf.yaml index a2109be1d947f..defbf9a30a5a0 100644 --- a/conf.yaml +++ b/conf.yaml @@ -343,6 +343,7 @@ contents: index: docs/index.asciidoc tags: Clients/PHP subject: Clients + asciidoctor: true sources: - repo: elasticsearch-php diff --git a/doc_build_aliases.sh b/doc_build_aliases.sh index d978e3bcc4bb4..09cb7214a874d 100644 --- a/doc_build_aliases.sh +++ b/doc_build_aliases.sh @@ -118,7 +118,7 @@ alias docbldegr='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs alias docbldnet='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch-net/docs/index.asciidoc --chunk 1' -alias docbldphp='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch-php/docs/index.asciidoc' +alias docbldphp='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch-php/docs/index.asciidoc' alias docbldepl='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch/docs/perl/index.asciidoc --single'