[gtk-doc] Make spacing even in top navigation bar
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] Make spacing even in top navigation bar
- Date: Wed, 26 Feb 2014 14:43:16 +0000 (UTC)
commit e53b418493c66cbff54c962df4f5cbec3dcb060c
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Feb 25 10:33:00 2014 -0500
Make spacing even in top navigation bar
This fixes commit 6a1480406ac78356855923a794293cc343f432f3.
gtk-doc-single.xsl | 20 ++++++++++----------
gtk-doc.xsl | 24 ++++++++++++------------
2 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/gtk-doc-single.xsl b/gtk-doc-single.xsl
index d6f495a..7d9efc6 100644
--- a/gtk-doc-single.xsl
+++ b/gtk-doc-single.xsl
@@ -240,61 +240,61 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
<a href="#" class="shortcut">Top</a>
<xsl:if test="count($sections) > 0">
<xsl:if test="count($sect_desc) > 0">
- <span id="nav_description"> <span class="dim">|</span>
+ <span id="nav_description">  <span class="dim">|</span> 
<a href="#{$section_id}.description" class="shortcut">
<xsl:value-of select="./refsect1[ role='desc']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_object_hierarchy) > 0">
- <span id="nav_hierarchy"> <span class="dim">|</span>
+ <span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#{$section_id}.object-hierarchy" class="shortcut">
<xsl:value-of select="./refsect1[ role='object_hierarchy']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_impl_interfaces) > 0">
- <span id="nav_interfaces"> <span class="dim">|</span>
+ <span id="nav_interfaces">  <span class="dim">|</span> 
<a href="#{$section_id}.implemented-interfaces" class="shortcut">
<xsl:value-of select="./refsect1[ role='impl_interfaces']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_prerequisites) > 0">
- <span id="nav_prerequisites"> <span class="dim">|</span>
+ <span id="nav_prerequisites">  <span class="dim">|</span> 
<a href="#{$section_id}.prerequisites" class="shortcut">
<xsl:value-of select="./refsect1[ role='prerequisites']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_derived_interfaces) > 0">
- <span id="nav_derived_interfaces"> <span class="dim">|</span>
+ <span id="nav_derived_interfaces">  <span class="dim">|</span> 
<a href="#{$section_id}.derived-interfaces" class="shortcut">
<xsl:value-of select="./refsect1[ role='derived_interfaces']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_implementations) > 0">
- <span id="nav_implementations"> <span class="dim">|</span>
+ <span id="nav_implementations">  <span class="dim">|</span> 
<a href="#{$section_id}.implementations" class="shortcut">
<xsl:value-of select="./refsect1[ role='implementations']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_properties) > 0">
- <span id="nav_properties"> <span class="dim">|</span>
+ <span id="nav_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_child_properties) > 0">
- <span id="nav_child_properties"> <span class="dim">|</span>
+ <span id="nav_child_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.child-properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='child_properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_style_properties) > 0">
- <span id="nav_style_properties"> <span class="dim">|</span>
+ <span id="nav_style_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.style-properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='style_properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_signal_proto) > 0">
- <span id="nav_signals"> <span class="dim">|</span>
+ <span id="nav_signals">  <span class="dim">|</span> 
<a href="#{$section_id}.signals" class="shortcut">
<xsl:value-of select="./refsect1[ role='signal_proto']/title"/>
</a></span>
diff --git a/gtk-doc.xsl b/gtk-doc.xsl
index 73ee14e..3427e0f 100644
--- a/gtk-doc.xsl
+++ b/gtk-doc.xsl
@@ -475,61 +475,61 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
<xsl:when test="count($refsections) > 0">
<a href="#" class="shortcut">Top</a>
<xsl:if test="count($sect_desc) > 0">
- <span id="nav_description"> <span class="dim">|</span>
+ <span id="nav_description">  <span class="dim">|</span> 
<a href="#{$section_id}.description" class="shortcut">
<xsl:value-of select="./refsect1[ role='desc']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_object_hierarchy) > 0">
- <span id="nav_hierarchy"> <span class="dim">|</span>
+ <span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#{$section_id}.object-hierarchy" class="shortcut">
<xsl:value-of select="./refsect1[ role='object_hierarchy']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_impl_interfaces) > 0">
- <span id="nav_interfaces"> <span class="dim">|</span>
+ <span id="nav_interfaces">  <span class="dim">|</span> 
<a href="#{$section_id}.implemented-interfaces" class="shortcut">
<xsl:value-of select="./refsect1[ role='impl_interfaces']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_prerequisites) > 0">
- <span id="nav_prerequisites"> <span class="dim">|</span>
+ <span id="nav_prerequisites">  <span class="dim">|</span> 
<a href="#{$section_id}.prerequisites" class="shortcut">
<xsl:value-of select="./refsect1[ role='prerequisites']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_derived_interfaces) > 0">
- <span id="nav_derived_interfaces"> <span class="dim">|</span>
+ <span id="nav_derived_interfaces">  <span class="dim">|</span> 
<a href="#{$section_id}.derived-interfaces" class="shortcut">
<xsl:value-of select="./refsect1[ role='derived_interfaces']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_implementations) > 0">
- <span id="nav_implementations"> <span class="dim">|</span>
+ <span id="nav_implementations">  <span class="dim">|</span> 
<a href="#{$section_id}.implementations" class="shortcut">
<xsl:value-of select="./refsect1[ role='implementations']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_properties) > 0">
- <span id="nav_properties"> <span class="dim">|</span>
+ <span id="nav_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_child_properties) > 0">
- <span id="nav_child_properties"> <span class="dim">|</span>
+ <span id="nav_child_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.child-properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='child_properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_style_properties) > 0">
- <span id="nav_style_properties"> <span class="dim">|</span>
+ <span id="nav_style_properties">  <span class="dim">|</span> 
<a href="#{$section_id}.style-properties" class="shortcut">
<xsl:value-of select="./refsect1[ role='style_properties']/title"/>
</a></span>
</xsl:if>
<xsl:if test="count($sect_signal_proto) > 0">
- <span id="nav_signals"> <span class="dim">|</span>
+ <span id="nav_signals">  <span class="dim">|</span> 
<a href="#{$section_id}.signals" class="shortcut">
<xsl:value-of select="./refsect1[ role='signal_proto']/title"/>
</a></span>
@@ -798,12 +798,12 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
<span class="extralinks">
<xsl:for-each select="../ulink[ role='extralinks']">
<xsl:if test="position() = 1">[ </xsl:if>
- <xsl:if test="position() > 1"> <span class="dim">|</span> </xsl:if>
+ <xsl:if test="position() > 1">  <span class="dim">|</span> </xsl:if>
<a>
<xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
<xsl:copy-of select="text()" />
</a>
- <xsl:if test="position() = last()"> ]</xsl:if>
+ <xsl:if test="position() = last()">  ]</xsl:if>
</xsl:for-each>
</span>
</xsl:if>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]