[Swift-commit] r2232 - in trunk/docs: . formatting

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Sep 19 11:59:07 CDT 2008


Author: benc
Date: 2008-09-19 11:59:07 -0500 (Fri, 19 Sep 2008)
New Revision: 2232

Modified:
   trunk/docs/build-chunked-userguide.sh
   trunk/docs/formatting/swiftsh_html_chunked.xsl
Log:
generate PHP extension inside docbook so that inter-chunk links work.

Modified: trunk/docs/build-chunked-userguide.sh
===================================================================
--- trunk/docs/build-chunked-userguide.sh	2008-09-19 16:38:07 UTC (rev 2231)
+++ trunk/docs/build-chunked-userguide.sh	2008-09-19 16:59:07 UTC (rev 2232)
@@ -6,7 +6,3 @@
 
 xsltproc --nonet ../formatting/swiftsh_html_chunked.xsl ../userguide.xml
 
-for a in *.html; do
-  B=$(basename -s .html $a)
-  mv $a ${B}.php
-done

Modified: trunk/docs/formatting/swiftsh_html_chunked.xsl
===================================================================
--- trunk/docs/formatting/swiftsh_html_chunked.xsl	2008-09-19 16:38:07 UTC (rev 2231)
+++ trunk/docs/formatting/swiftsh_html_chunked.xsl	2008-09-19 16:59:07 UTC (rev 2232)
@@ -5,6 +5,7 @@
 	<xsl:import href="docbook/html/chunk.xsl"/>
 	<xsl:param name="chunk.section.depth" select="1"></xsl:param>
 	<xsl:param name="use.id.as.filename" select="1"/>
+	<xsl:param name="html.ext">.php</xsl:param>
 
 
 	<!--<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>-->




More information about the Swift-commit mailing list