Details
-
Task
-
Resolution: Fixed
-
Blocker
-
None
-
None
-
None
-
Build environment
-
Test Infrastructure
-
7204
Description
The manual needs a test and build job. Test and build includes five steps:
(TEST)
1. Verify with xmllint the ./index.xml of doc/manual:
xmllint --noout --xinclude --noent --relaxng /usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng ./index.xml
(TEST)
2. (Optional) Verify with jing the ./index.xml of doc/manual:
java -cp /home/richard/whamcloud/pubwiki/tools/jing-20081028/bin/ -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration -jar /home/richard/whamcloud/pubwiki/tools/jing-20081028/bin/jing.jar /usr/share/xml/docbook/schema/rng/5.0/docbookxi.rng ./index.xml
(BUILD)
3. Build a pdf of the manual:
xsltproc --stringparam fop1.extensions 1 --stringparam section.label.includes.component.label 1 --stringparam section.autolabel 1 --stringparam chapter.autolabel 1 --stringparam appendix.autolabel 1 --xinclude -o /tmp/manual.fo /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl ./index.xml && fop /tmp/manual.fo /tmp/manual.pdf
(BUILD)
4. Build a HTML of the manual:
xsltproc --stringparam fop1.extensions 1 --stringparam section.label.includes.component.label 1 --stringparam section.autolabel 1 --stringparam chapter.autolabel 1 --stringparam appendix.autolabel 1 --xinclude -o /tmp/manual.html /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/html/docbook.xsl ./index.xml
(AUTOMATION)
5. Mark Gerrit +1 Hudson!