From 78b747ab2e5541014e0a4507ccf3092bb72d8f4b Mon Sep 17 00:00:00 2001 From: Kevin Neufeld Date: Fri, 22 May 2009 21:32:19 +0000 Subject: [PATCH] added the xmlformatter conf file for pretty printing the documentation's xml files This will allow us to separate code changes from style changes in the docs. git-svn-id: http://svn.osgeo.org/postgis/trunk@4093 b70326c6-7e19-0410-871a-916f4a2858ee --- doc/xmlformat.conf | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 doc/xmlformat.conf diff --git a/doc/xmlformat.conf b/doc/xmlformat.conf new file mode 100644 index 000000000..0a6c15d72 --- /dev/null +++ b/doc/xmlformat.conf @@ -0,0 +1,43 @@ +# This file is the configuration file for xmlformat, an xml pretty printer +# that would enable a consistent style convention for the PostGIS documentation. +# +# xmlformat is free software available for download here: +# http://www.kitebird.com/software/xmlformat/docs/xmlformat/index.html +# +# Prerequisites: +# 1. Store the location of this file in enviro variable XMLFORMAT_CONF +# 2. or store this file in your working directory +# 3. or specify this file using the -f flag +# +# Usage: +# xmlformatter --help +# xmlformatter -i installation.xml +# + +*DEFAULT + element-break = 2 + subindent = 2 + wrap-length = 80 + +code, command, emphasis, filename, function, imagedata, parameter, type, varname, xref + format inline + +funcprototype + element-break = 1 + +funcdef, paramdef, refname, imageobject + normalize = yes + entry-break = 0 + element-break = 0 + exit-break = 0 + +programlisting + entry-break = 0 + +para, refpurpose + normalize = yes + element-break = 1 + +ulink + normalize = yes + element-break = 1 -- 2.50.1