Author: joshua
Date: 2007-05-12 14:43:36 -0400 (Sat, 12 May 2007)
New Revision: 77290
Modified:
trunk/monodoc/tools/ChangeLog
trunk/monodoc/tools/overview.xsl
Log:
overview.xml: sort type names
Modified: trunk/monodoc/tools/ChangeLog
===================================================================
--- trunk/monodoc/tools/ChangeLog 2007-05-12 17:44:43 UTC (rev 77289)
+++ trunk/monodoc/tools/ChangeLog 2007-05-12 18:43:36 UTC (rev 77290)
@@ -1,3 +1,8 @@
+2007-05-12 Joshua Tauberer <[EMAIL PROTECTED]>
+
+ * overview.xsl: Always sort type names, since when updating
+ docs monodocer can make the list in index.xml out of order.
+
2007-03-15 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* monodocer.cs: When deleting a member, don't remove it from the
Modified: trunk/monodoc/tools/overview.xsl
===================================================================
--- trunk/monodoc/tools/overview.xsl 2007-05-12 17:44:43 UTC (rev 77289)
+++ trunk/monodoc/tools/overview.xsl 2007-05-12 18:43:36 UTC (rev 77290)
@@ -90,6 +90,7 @@
<xsl:when test="count(Types//Type) <
$max-types">
<!-- index; show all types -->
<xsl:for-each
select="Types/Namespace">
+ <xsl:sort
select="@Name"/>
<h2 class="Section"><a
href="[EMAIL PROTECTED]/index.{$ext}"><xsl:value-of select="@Name"/>
Namespace</a></h2>
<xsl:call-template
name="CreateNamespaceDetails">
<xsl:with-param
name="ns" select="." />
@@ -99,6 +100,7 @@
<xsl:otherwise>
<!-- index; show only
namespaces -->
<xsl:for-each
select="Types/Namespace">
+ <xsl:sort
select="@Name"/>
<h2 class="Section"><a
href="[EMAIL PROTECTED]/index.{$ext}"><xsl:value-of select="@Name"/>
Namespace</a></h2>
<p><xsl:apply-templates
select="document(concat(@Name,'.xml'), .)/Namespace/Docs/summary"
mode="notoppara"/></p>
</xsl:for-each>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches