File tree Expand file tree Collapse file tree 5 files changed +10
-3
lines changed
Expand file tree Collapse file tree 5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -198,11 +198,13 @@ ifdef USE_ASCIIDOCTOR
198198ASCIIDOC = asciidoctor
199199ASCIIDOC_CONF =
200200ASCIIDOC_HTML = xhtml5
201- ASCIIDOC_DOCBOOK = docbook45
201+ ASCIIDOC_DOCBOOK = docbook5
202202ASCIIDOC_EXTRA += -acompat-mode -atabsize=8
203203ASCIIDOC_EXTRA += -I. -rasciidoctor-extensions
204204ASCIIDOC_EXTRA += -alitdd='&\# x2d;&\#x2d;'
205205DBLATEX_COMMON =
206+ XMLTO_EXTRA += --skip-validation
207+ XMLTO_EXTRA += -x manpage.xsl
206208endif
207209
208210SHELL_PATH ?= $(SHELL )
Original file line number Diff line number Diff line change 1+ <xsl : stylesheet xmlns : xsl =" http://www.w3.org/1999/XSL/Transform" version =" 1.0" >
2+ <xsl : import href =" http://docbook.sourceforge.net/release/xsl-ns/current/manpages/docbook.xsl" />
3+ </xsl : stylesheet >
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ jobs:
374374 test "$GITFILESHAREPWD" = '$(gitfileshare.pwd)' || ci/mount-fileshare.sh //gitfileshare.file.core.windows.net/test-cache gitfileshare "$GITFILESHAREPWD" "$HOME/test-cache" || exit 1
375375
376376 sudo apt-get update &&
377- sudo apt-get install -y asciidoc xmlto asciidoctor &&
377+ sudo apt-get install -y asciidoc xmlto asciidoctor docbook-xsl-ns &&
378378
379379 export ALREADY_HAVE_ASCIIDOCTOR=yes. &&
380380 export jobname=Documentation &&
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ StaticAnalysis)
5353 ;;
5454Documentation)
5555 sudo apt-get -q update
56- sudo apt-get -q -y install asciidoc xmlto
56+ sudo apt-get -q -y install asciidoc xmlto docbook-xsl-ns
5757
5858 test -n " $ALREADY_HAVE_ASCIIDOCTOR " ||
5959 gem install --version 1.5.8 asciidoctor
Original file line number Diff line number Diff line change 88filter_log () {
99 sed -e ' /^GIT_VERSION = /d' \
1010 -e ' /^ \* new asciidoc flags$/d' \
11+ -e ' /stripped namespace before processing/d' \
12+ -e ' /Attributed.*IDs for element/d' \
1113 " $1 "
1214}
1315
You can’t perform that action at this time.
0 commit comments