doc: Reduce the validation errors of the docbook input
authorBill Spitzak <spitzak@gmail.com>
Fri, 19 Dec 2014 04:15:05 +0000 (20:15 -0800)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 19 Dec 2014 14:10:36 +0000 (16:10 +0200)
commitdfc64f9ffe0ceecf8e93d6eba3fdb7b1165c9c43
treece19e53cc916b88680d6ddf0d58ca9b569e4a62f
parent75ec915da87acf3e75a408586ac8468a038b699a
doc: Reduce the validation errors of the docbook input

(this is different from previous version as it removes some
broken and irrelevant changes to the protocol appendix).

This removes all the validation errors except for missing link
targets. You can test this by removing the --skip-validation
from doc/publican/Makefile.am.

Main changes are to avoid nesting <para> commands. I also used
<simpara> in some places to reduce the amount of blank space.
And the reference id's are prefixed with the chapter name to
avoid collisions between libclient and libserver.

PS: it would be useful if somebody who actually knows something
about xslt would come up with a way to translate a block of text
makde of <para> commands unchanged, but add <para> around plain
text. Most of the difficulty is that doxygen's output is rather
inconsistent here.

Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
doc/publican/doxygen-to-publican.xsl
doc/publican/protocol-interfaces-to-docbook.xsl
doc/publican/protocol-to-docbook.xsl