gtk-doc r567 - trunk
- From: stefkost svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-doc r567 - trunk
- Date: Mon, 2 Jun 2008 06:24:23 +0000 (UTC)
Author: stefkost
Date: Mon Jun 2 06:24:23 2008
New Revision: 567
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=567&view=rev
Log:
patch by: Felix Riemann <friemann svn gnome org>
* gtk-doc.xsl:
* style.css:
Produce valid html. Fixes #534627.
Modified:
trunk/ChangeLog
trunk/gtk-doc.xsl
trunk/style.css
Modified: trunk/gtk-doc.xsl
==============================================================================
--- trunk/gtk-doc.xsl (original)
+++ trunk/gtk-doc.xsl Mon Jun 2 06:24:23 2008
@@ -320,103 +320,101 @@
<xsl:if test="count($sections) > 0">
<tr>
<td colspan="5" class="shortcuts">
- <nobr>
- <xsl:if test="count($sect_synopsis) > 0">
- <a href="#{$section_id}.synopsis" class="shortcut">Top</a>
- </xsl:if>
- <xsl:if test="count($sect_desc) > 0">
-  | 
- <a href="#{$section_id}.description" class="shortcut">
- <xsl:value-of select="./refsect1[ role='desc']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_object_hierarchy) > 0">
-  | 
- <a href="#{$section_id}.object-hierarchy" class="shortcut">
- <xsl:value-of select="./refsect1[ role='object_hierarchy']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_impl_interfaces) > 0">
-  | 
- <a href="#{$section_id}.implemented-interfaces" class="shortcut">
- <xsl:value-of select="./refsect1[ role='impl_interfaces']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_prerequisites) > 0">
-  | 
- <a href="#{$section_id}.prerequisites" class="shortcut">
- <xsl:value-of select="./refsect1[ role='prerequisites']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_derived_interfaces) > 0">
-  | 
- <a href="#{$section_id}.derived-interfaces" class="shortcut">
- <xsl:value-of select="./refsect1[ role='derived_interfaces']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_implementations) > 0">
-  | 
- <a href="#{$section_id}.implementations" class="shortcut">
- <xsl:value-of select="./refsect1[ role='implementations']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_properties) > 0">
-  | 
- <a href="#{$section_id}.properties" class="shortcut">
- <xsl:value-of select="./refsect1[ role='properties']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_child_properties) > 0">
-  | 
- <a href="#{$section_id}.child-properties" class="shortcut">
- <xsl:value-of select="./refsect1[ role='child_properties']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_style_properties) > 0">
-  | 
- <a href="#{$section_id}.style-properties" class="shortcut">
- <xsl:value-of select="./refsect1[ role='style_properties']/title"/>
- </a>
- </xsl:if>
- <xsl:if test="count($sect_signal_proto) > 0">
-  | 
- <a href="#{$section_id}.signals" class="shortcut">
- <xsl:value-of select="./refsect1[ role='signal_proto']/title"/>
- </a>
- </xsl:if>
- <!--
- <xsl:if test="count($sect_details) > 0">
- <a href="#details" class="shortcut">
- <xsl:value-of select="./refsect1[ id='details']/title"/>
- </a>
-  | 
- </xsl:if>
- <xsl:if test="count($sect_property_details) > 0">
- <a href="#property_details" class="shortcut">
- <xsl:value-of select="./refsect1[ id='property_details']/title"/>
- </a>
-  | 
- </xsl:if>
- <xsl:if test="count($sect_child_property_details) > 0">
- <a href="#child_property_details" class="shortcut">
- <xsl:value-of select="./refsect1[ id='property_child_details']/title"/>
- </a>
-  | 
- </xsl:if>
- <xsl:if test="count($sect_style_property_details) > 0">
- <a href="#style_property_details" class="shortcut">
- <xsl:value-of select="./refsect1[ id='style_property_details']/title"/>
- </a>
-  | 
- </xsl:if>
- <xsl:if test="count($sect_signals) > 0">
- <a href="#signals" class="shortcut">
- <xsl:value-of select="./refsect1[ id='signals']/title"/>
- </a>
-  | 
- </xsl:if>
- -->
- </nobr>
+ <xsl:if test="count($sect_synopsis) > 0">
+ <a href="#{$section_id}.synopsis" class="shortcut">Top</a>
+ </xsl:if>
+ <xsl:if test="count($sect_desc) > 0">
+  | 
+ <a href="#{$section_id}.description" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='desc']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_object_hierarchy) > 0">
+  | 
+ <a href="#{$section_id}.object-hierarchy" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='object_hierarchy']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_impl_interfaces) > 0">
+  | 
+ <a href="#{$section_id}.implemented-interfaces" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='impl_interfaces']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_prerequisites) > 0">
+  | 
+ <a href="#{$section_id}.prerequisites" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='prerequisites']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_derived_interfaces) > 0">
+  | 
+ <a href="#{$section_id}.derived-interfaces" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='derived_interfaces']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_implementations) > 0">
+  | 
+ <a href="#{$section_id}.implementations" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='implementations']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_properties) > 0">
+  | 
+ <a href="#{$section_id}.properties" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='properties']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_child_properties) > 0">
+  | 
+ <a href="#{$section_id}.child-properties" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='child_properties']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_style_properties) > 0">
+  | 
+ <a href="#{$section_id}.style-properties" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='style_properties']/title"/>
+ </a>
+ </xsl:if>
+ <xsl:if test="count($sect_signal_proto) > 0">
+  | 
+ <a href="#{$section_id}.signals" class="shortcut">
+ <xsl:value-of select="./refsect1[ role='signal_proto']/title"/>
+ </a>
+ </xsl:if>
+ <!--
+ <xsl:if test="count($sect_details) > 0">
+ <a href="#details" class="shortcut">
+ <xsl:value-of select="./refsect1[ id='details']/title"/>
+ </a>
+  | 
+ </xsl:if>
+ <xsl:if test="count($sect_property_details) > 0">
+ <a href="#property_details" class="shortcut">
+ <xsl:value-of select="./refsect1[ id='property_details']/title"/>
+ </a>
+  | 
+ </xsl:if>
+ <xsl:if test="count($sect_child_property_details) > 0">
+ <a href="#child_property_details" class="shortcut">
+ <xsl:value-of select="./refsect1[ id='property_child_details']/title"/>
+ </a>
+  | 
+ </xsl:if>
+ <xsl:if test="count($sect_style_property_details) > 0">
+ <a href="#style_property_details" class="shortcut">
+ <xsl:value-of select="./refsect1[ id='style_property_details']/title"/>
+ </a>
+  | 
+ </xsl:if>
+ <xsl:if test="count($sect_signals) > 0">
+ <a href="#signals" class="shortcut">
+ <xsl:value-of select="./refsect1[ id='signals']/title"/>
+ </a>
+  | 
+ </xsl:if>
+ -->
</td>
</tr>
</xsl:if>
Modified: trunk/style.css
==============================================================================
--- trunk/style.css (original)
+++ trunk/style.css Mon Jun 2 06:24:23 2008
@@ -56,6 +56,7 @@
{
color: #770000;
font-size: 80%;
+ white-space: nowrap;
}
div.refentry, div.chapter, div.reference, div.part, div.book, div.index, div.glossary, div.sect1, div.appendix, div.preface
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]