- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 02 Aug 2010 11:27:41 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv17597/tools Modified Files: chunker.xsl generate-spec-source.xsl specgen.xsl Log Message: added a "jump index" for quickly getting to per-element documentation Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.286 retrieving revision 1.287 diff -u -d -r1.286 -r1.287 --- generate-spec-source.xsl 1 Aug 2010 06:36:53 -0000 1.286 +++ generate-spec-source.xsl 2 Aug 2010 11:27:39 -0000 1.287 @@ -848,6 +848,8 @@ <!-- * <xsl:text> </xsl:text> --> <xsl:text> </xsl:text> </div> + <script src="js/jump-indexes.js" type="text/javascript"></script> + <xsl:text> </xsl:text> <script src="js/dfn.js" type="text/javascript"></script> </body> <xsl:text> </xsl:text> Index: specgen.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/specgen.xsl,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 --- specgen.xsl 31 Jul 2010 20:31:26 -0000 1.74 +++ specgen.xsl 2 Aug 2010 11:27:39 -0000 1.75 @@ -111,11 +111,17 @@ <xsl:template match="h:body"> <body> <xsl:copy-of select='@*[namespace-uri()="" or namespace-uri="http://www.w3.org/XML/1998/namespace"]'/> + <xsl:if test="not($chunk = 0)"> + <xsl:attribute name="class">chunk</xsl:attribute> + </xsl:if> <xsl:call-template name="top"/> <xsl:apply-templates/> </body> </xsl:template> <xsl:template name='top'> + <div id="jump-indexes" class="no-number no-toc"> + <div id="jumpIndexA-button">elements</div> + </div> <div class='head'> <xsl:choose> <xsl:when test="$site = 'W3C'"> Index: chunker.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/chunker.xsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- chunker.xsl 28 Jul 2010 16:07:33 -0000 1.11 +++ chunker.xsl 2 Aug 2010 11:27:39 -0000 1.12 @@ -107,7 +107,10 @@ <xsl:text> </xsl:text> </head> <xsl:text> </xsl:text> - <body> + <body class="chunk"> + <div id="jump-indexes" class="no-number no-toc"> + <div id="jumpIndexA-button">elements</div> + </div> <xsl:call-template name="header.navigation"> <xsl:with-param name="prev" select="$prev"/> <xsl:with-param name="next" select="$next"/> @@ -118,6 +121,7 @@ <xsl:with-param name="next" select="$next"/> </xsl:call-template> <xsl:text> </xsl:text> + <script src="js/jump-indexes.js" type="text/javascript"></script> </body> <xsl:text> </xsl:text> </html>
Received on Monday, 2 August 2010 11:27:48 UTC