summaryrefslogtreecommitdiff
path: root/docs/newapi.xsl
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-07-26 18:12:50 +0100
committerDaniel P. Berrange <berrange@redhat.com>2017-08-02 17:00:11 +0100
commit17160a705acb62d8ffb3c100ed68124e0a710baa (patch)
treea34af05175e49e5ed0c47c5dbc51e2f95c81f597 /docs/newapi.xsl
parentb1c81567c7172bc9dcd701cf46ea3f87725d62c7 (diff)
downloadlibvirt-17160a705acb62d8ffb3c100ed68124e0a710baa.tar.gz
docs: generate pretty indented HTML for API docs
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'docs/newapi.xsl')
-rw-r--r--docs/newapi.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index b29bbcd52b..8d4c032c03 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -814,6 +814,7 @@
<xsl:document
href="{concat($htmldir, '/index.html')}"
method="xml"
+ indent="yes"
encoding="UTF-8">
<xsl:apply-templates select="exsl:node-set($mainpage)" mode="page">
<xsl:with-param name="pagename" select="concat($htmldir, '/index.html')"/>
@@ -829,6 +830,7 @@
<xsl:document
href="{concat($htmldir, '/libvirt-', @name, '.html')}"
method="xml"
+ indent="yes"
encoding="UTF-8">
<xsl:apply-templates select="exsl:node-set($subpage)" mode="page">
<xsl:with-param name="pagename" select="concat($htmldir, '/libvirt-', @name, '.html')"/>