[libvirt] [PATCH 09/12] docs: generate pretty indented HTML for API docs

Daniel P. Berrange berrange at redhat.com
Wed Jul 26 17:51:12 UTC 2017


Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 docs/newapi.xsl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index a55736d32..a2f0e0714 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')"/>
@@ -828,6 +829,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')"/>
-- 
2.13.3




More information about the libvir-list mailing list