[interchange-docs] xmldocs - docelic modified 5 files

docs at icdevgroup.org docs at icdevgroup.org
Mon Aug 20 19:19:37 EDT 2007


User:      docelic
Date:      2007-08-20 23:19:36 GMT
Modified:  docbook  common.xsl html-chunks.xsl xmldocs.css
Modified:  guides   programming-style.xml
Modified:  refs     VendURL
Log:
* Make variable names link to reference pages
* small updates

Revision  Changes    Path
1.22      +12 -0     xmldocs/docbook/common.xsl


rev 1.22, prev_rev 1.21
Index: common.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/common.xsl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- common.xsl	9 Jul 2007 11:11:45 -0000	1.21
+++ common.xsl	20 Aug 2007 23:19:35 -0000	1.22
@@ -49,6 +49,18 @@
 	<xsl:template match="filter"><xsl:call-template name="inline.monoseq"/></xsl:template>
 	<xsl:template match="widget"><xsl:call-template name="inline.monoseq"/></xsl:template>
 	<xsl:template match="check"><xsl:call-template name="inline.monoseq"/></xsl:template>
+	<xsl:template match="varname">
+		<xsl:call-template name="olink">
+			<xsl:with-param name="content" select="."/>
+			<xsl:with-param name="targetdoc" select="'vars'"/>
+			<xsl:with-param name="targetptr" select="."/>
+		</xsl:call-template>
+		<!--
+		<xsl:variable name="content">
+			<xsl:call-template name="inline.monoseq"/>
+		</xsl:variable>
+		-->
+	</xsl:template>
 
   <xsl:param name="local.l10n.xml" select="document('')"/>
   <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">



1.23      +10 -0     xmldocs/docbook/html-chunks.xsl


rev 1.23, prev_rev 1.22
Index: html-chunks.xsl
===================================================================
RCS file: /var/cvs/xmldocs/docbook/html-chunks.xsl,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- html-chunks.xsl	20 Aug 2007 18:51:17 -0000	1.22
+++ html-chunks.xsl	20 Aug 2007 23:19:35 -0000	1.23
@@ -102,6 +102,16 @@
 
 
 
+  <!-- works only for this stylesheet, should be modified for others -->
+  <xsl:template match="varname">
+        <xsl:text disable-output-escaping="yes">&lt;span class="varname"&gt;</xsl:text>
+        <xsl:text disable-output-escaping="yes">&lt;a href="../vars/</xsl:text>
+        <xsl:value-of select="." />
+        <xsl:text disable-output-escaping="yes">.html"&gt;</xsl:text>
+        <xsl:value-of select="." />
+        <xsl:text disable-output-escaping="yes">&lt;/a&gt;</xsl:text>
+        <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>
+  </xsl:template>
 
 
 



1.28      +4 -0      xmldocs/docbook/xmldocs.css


rev 1.28, prev_rev 1.27
Index: xmldocs.css
===================================================================
RCS file: /var/cvs/xmldocs/docbook/xmldocs.css,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- xmldocs.css	18 Aug 2007 21:33:39 -0000	1.27
+++ xmldocs.css	20 Aug 2007 23:19:35 -0000	1.28
@@ -310,6 +310,10 @@
 	color: #208cbd;
 }
 
+.varname a {
+	color: #fff;
+}
+
 img {
 	border: 0;
 }



1.13      +6 -2      xmldocs/guides/programming-style.xml


rev 1.13, prev_rev 1.12
Index: programming-style.xml
===================================================================
RCS file: /var/cvs/xmldocs/guides/programming-style.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- programming-style.xml	20 Aug 2007 18:37:38 -0000	1.12
+++ programming-style.xml	20 Aug 2007 23:19:36 -0000	1.13
@@ -147,12 +147,16 @@
 				containing changes and fixes to multiple areas) it is best to create
 		file-specific comments addressing individual fixes. Using blank
 		comments is not encouraged.
-	</para><para>
+	</para>
+	<!--
+	<para>
 		Also, the CVS commit messages you write will be used to construct
     <olink targetdoc='WHATSNEW' /> entries, so make sure your text is both
 		user- and developer-friendly, not longer than necessary, clear,
 		and concise.
-	</para></listitem>
+	</para>
+	-->
+	</listitem>
 
 	<listitem><para>
 		<emphasis role='bold'>Loops</emphasis> - we prefer to declare loop



1.4       +1 -1      xmldocs/refs/VendURL


rev 1.4, prev_rev 1.3
Index: VendURL
===================================================================
RCS file: /var/cvs/xmldocs/refs/VendURL,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- VendURL	6 Nov 2006 18:41:21 -0000	1.3
+++ VendURL	20 Aug 2007 23:19:36 -0000	1.4
@@ -4,7 +4,7 @@
 
 
 __NAME__ see also
-SecureURL, ImageDir, ImageDirSecure
+base-url, SecureURL, ImageDir, ImageDirSecure
 __END__
 
 








More information about the docs mailing list