render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
6ae9ed
From f51f13a7e9de2b5c235a4c231138fa73d67a49b8 Mon Aug  8 13:14:18 2016
6ae9ed
Message-Id: <f51f13a7e9de2b5c235a4c231138fa73d67a49b8@dist-git>
6ae9ed
From: Michal Privoznik <mprivozn@redhat.com>
6ae9ed
Date: Mon,  8 Aug 2016 13:08:51 +0200
6ae9ed
Subject: [PATCH] RHEL: docs: Introduce subsite.xsl
6ae9ed
6ae9ed
https://bugzilla.redhat.com/show_bug.cgi?id=1365004
6ae9ed
6ae9ed
RHEL only
6ae9ed
6ae9ed
The file was not being distributed (now fixed in both upstream
6ae9ed
and downstream). However, since we are building on the top of
6ae9ed
release that is still missing the file copy it from upstream.
6ae9ed
6ae9ed
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
6ae9ed
---
6ae9ed
 docs/subsite.xsl | 25 +++++++++++++++++++++++++
6ae9ed
 1 file changed, 25 insertions(+)
6ae9ed
 create mode 100644 docs/subsite.xsl
6ae9ed
6ae9ed
diff --git b/docs/subsite.xsl a/docs/subsite.xsl
6ae9ed
new file mode 100644
6ae9ed
index 0000000..108d0d8
6ae9ed
--- /dev/null
6ae9ed
+++ a/docs/subsite.xsl
6ae9ed
@@ -0,0 +1,25 @@
6ae9ed
+
6ae9ed
+
6ae9ed
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6ae9ed
+  xmlns:exsl="http://exslt.org/common"
6ae9ed
+  exclude-result-prefixes="xsl exsl"
6ae9ed
+  version="1.0">
6ae9ed
+
6ae9ed
+  <xsl:import href="page.xsl"/>
6ae9ed
+
6ae9ed
+  
6ae9ed
+    method="xml"
6ae9ed
+    encoding="UTF-8"
6ae9ed
+    indent="yes"
6ae9ed
+    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
6ae9ed
+    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
6ae9ed
+
6ae9ed
+  <xsl:variable name="href_base" select="'../'"/>
6ae9ed
+
6ae9ed
+  <xsl:template match="/">
6ae9ed
+    <xsl:apply-templates select="." mode="page">
6ae9ed
+      <xsl:with-param name="pagename" select="$pagename"/>
6ae9ed
+    </xsl:apply-templates>
6ae9ed
+  </xsl:template>
6ae9ed
+
6ae9ed
+</xsl:stylesheet>
6ae9ed
-- 
6ae9ed
2.8.4
6ae9ed
6ae9ed