[Laszlo-checkins] r8890 - openlaszlo/trunk/docs/src/xsl

dda@openlaszlo.org dda at openlaszlo.org
Tue Apr 29 09:42:40 PDT 2008


Author: dda
Date: 2008-04-29 09:42:36 -0700 (Tue, 29 Apr 2008)
New Revision: 8890

Modified:
   openlaszlo/trunk/docs/src/xsl/js2doc-comment2dbk.xsl
Log:
Change 20080429-dda-e by dda at lester.local on 2008-04-29 12:35:47 EDT
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-doc
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: doc tools: fix result of <tagname>foo</tagname>

New Features:

Bugs Fixed: LPP-5155

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: liorio (pending)

Documentation:

Release Notes:

Details:
    <tagname>inputtext</tagname> should result in brackets around
    the name, like '<inputtext>', with the whole thing appearing
    to be shaded.  This will match the 3.x doc format.
    Before this hange, it appears that 'inputtext' was shown,
    but in a subtley different font.

Tests:
    Did build of doc reference
    Examined LzInputText page.



Modified: openlaszlo/trunk/docs/src/xsl/js2doc-comment2dbk.xsl
===================================================================
--- openlaszlo/trunk/docs/src/xsl/js2doc-comment2dbk.xsl	2008-04-29 16:42:09 UTC (rev 8889)
+++ openlaszlo/trunk/docs/src/xsl/js2doc-comment2dbk.xsl	2008-04-29 16:42:36 UTC (rev 8890)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006-2007 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2006-2008 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->
 <xsl:stylesheet version="1.0"
@@ -135,11 +135,16 @@
     </varname>
   </xsl:template>
   
-  <xsl:template match="class|tag|tagname|api" mode="html2dbk">
+  <xsl:template match="class|tag|api" mode="html2dbk">
     <classname>
       <xsl:apply-templates mode="html2dbk"/>
     </classname>
   </xsl:template>
+
+  <!-- TODO [dda 4/29/08] should 'tag' above be treated like this? -->
+  <xsl:template match="tagname" mode="html2dbk">
+    <varname>&lt;<xsl:apply-templates mode="html2dbk"/>&gt;</varname>
+  </xsl:template>
   
   <xsl:template match="param" mode="html2dbk">
     <parameter>



More information about the Laszlo-checkins mailing list