openstack-manuals/doc/high-availability-guide
Andreas Jaeger 8871efaaa3 Disable Disqus comments on HA Guide
Note that this works since the Jenkins jobs does not pass
-Dcomments.enabled to the job like all the other jobs.

Change-Id: I02261d507d9a49a7fa1fe0cc39ad1ae89c3b8423
2013-12-30 18:44:36 +01:00
..
figures Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
includes Add missing quote character 2013-11-08 16:11:57 +01:00
aa-automated-deployment.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
aa-computes.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
aa-controllers.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
aa-database.txt Fixed typo - cleanup documentation 2013-12-05 13:44:05 -05:00
aa-haproxy.txt Fix grammar in HA Guide 2013-12-03 22:18:31 +01:00
aa-network.txt Made changes to documentation/clean up 2013-12-05 13:34:08 -05:00
aa-overview.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
aa-rabbitmq.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
aa-storage.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-api-node.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-api-pacemaker.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-api-vip.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-ceilometer-agent-central.txt Install Guide: Don't use obsolete sql_connection 2013-10-22 20:32:56 +02:00
ap-cinder-api.txt Fix broken URLs 2013-10-01 08:53:26 +02:00
ap-cloud-controller.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-glance-api.txt Cleaned up documentation 2013-12-05 15:41:48 -05:00
ap-keystone.txt Grammatical Changes to documentation 2013-12-03 16:45:10 -05:00
ap-mysql.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-network-controller.txt Cleaned up documentation and made edits 2013-12-05 13:27:47 -05:00
ap-neutron-server.txt Cleaned up and made revisions to doc 2013-12-05 11:27:46 -05:00
ap-overview.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-pacemaker.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ap-rabbitmq.txt Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00
ha-guide-docinfo.xml Attempt to fix problems in high availability guide 2013-10-14 11:18:51 -05:00
ha-guide.txt Attempt to fix problems in high availability guide 2013-10-14 11:18:51 -05:00
intro.txt minor edits to HA guide 2013-10-29 16:56:19 +11:00
pom.xml Disable Disqus comments on HA Guide 2013-12-30 18:44:36 +01:00
README Folder rename, file rename, flattening of directories 2013-09-08 15:15:50 -07:00

This directory contains what's eventually intended to become reference
documentation for OpenStack High Availability.

Contrary to the rest of the documentation which is straight-up
DocBook, this guide is being maintained, at least for the time being,
in AsciiDoc. AsciiDoc processing is supported by the OpenStack Jenkins
CI infrastructure, but not by the Maven toolchain. So as a stop-gap
measure until such support becomes available, please do this if you
want to build offline before you send a patch:

1. Make your change to the AsciiDoc source file (.txt). The syntax
   should be self explanatory-and intuitive to anyone who's ever used
   something like Markdown or RST. The AsciiDoc cheatsheet is an
   extremely useful resource: http://powerman.name/doc/asciidoc

2. Pipe your stuff through AsciiDoc. Here's one catch: AsciiDoc
   currently doesn't fully support DocBook 5, but the Maven toolchain
   requires it. So you'll have to run your AsciiDoc output through the
   "db4upgrade.xsl" stylesheet that ships with DocBook 5.

3. Finally, indent your resulting XML with two spaces. This should
   produce a clean patch against bk-ha-guide.xml which you can then
   submit to Gerrit along with your .txt file patch.

4. Add an "xml:id" attribute on the root <book> element. The Maven
   toolchain requires this.

Here's a command line you can use with AsciiDoc, xsltproc, xmllint and
sed to achieve all of the above:

asciidoc -b docbook -d book -o - ha-guide.txt | \
  xsltproc -o - /path/to/db4-upgrade.xsl - | \
  xmllint --format - | \
  sed -e 's,^<book ,<book xml:id="bk-ha-guide" ,' \
  > bk-ha-guide.xml

Admittedly, the sed hack is particularly ugly, but it does get the job
done.

After that, you should be able to build with "mvn clean
generate-sources" as you normally would.