Skip to content

Commit 41ee072

Browse files
authored
Switch the PHP client to Asciidoctor (#690)
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
1 parent d1a8678 commit 41ee072

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ contents:
343343
index: docs/index.asciidoc
344344
tags: Clients/PHP
345345
subject: Clients
346+
asciidoctor: true
346347
sources:
347348
-
348349
repo: elasticsearch-php

doc_build_aliases.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ alias docbldegr='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch/docs
118118

119119
alias docbldnet='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch-net/docs/index.asciidoc --chunk 1'
120120

121-
alias docbldphp='$GIT_HOME/docs/build_docs.pl --doc $GIT_HOME/elasticsearch-php/docs/index.asciidoc'
121+
alias docbldphp='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch-php/docs/index.asciidoc'
122122

123123
alias docbldepl='$GIT_HOME/docs/build_docs --asciidoctor --doc $GIT_HOME/elasticsearch/docs/perl/index.asciidoc --single'
124124

0 commit comments

Comments
 (0)