summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@src.gnome.org>2008-02-26 01:48:28 +0000
committerJonathon Jongsma <jjongsma@src.gnome.org>2008-02-26 01:48:28 +0000
commit6009521b2810e2102d6ac45895aa0dbf7afcc203 (patch)
tree19d40297fb9303fe4b5964840092459cd30f0acc /docs
parentb64f6506993054528147ef24093f2fc513ee8314 (diff)
downloadglibmm-6009521b2810e2102d6ac45895aa0dbf7afcc203.tar.gz
add path separators between the reference prefix and the link filenames
* docs/reference/doxygen_to_devhelp.xsl: add path separators between the reference prefix and the link filenames * docs/reference/Makefile.am: remove trailing slash from the reference prefix (fixes bug #518673) svn path=/trunk/; revision=623
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/Makefile.am2
-rw-r--r--docs/reference/doxygen_to_devhelp.xsl10
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 16d5a8af..63c2d98b 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -30,7 +30,7 @@ XML_INDEX=xml/index.xml
$(devhelp_file): $(XML_INDEX) $(devhelp_stylesheet)
xsltproc --stringparam book_title "glibmm 2.4 Reference Manual" \
--stringparam book_name "glibmm 2.4" \
- --stringparam reference_prefix "../../../doc/glibmm-2.4/docs/reference/html/" \
+ --stringparam reference_prefix "../../../doc/glibmm-2.4/docs/reference/html" \
-o $@ $(devhelp_stylesheet) $(XML_INDEX)
$(HTML_INDEX) $(XML_INDEX): $(doxygen_configfile_source) $(beautify_docs_source) $(top_srcdir)/glib/glibmm/*.h
diff --git a/docs/reference/doxygen_to_devhelp.xsl b/docs/reference/doxygen_to_devhelp.xsl
index d4e1371a..f05af187 100644
--- a/docs/reference/doxygen_to_devhelp.xsl
+++ b/docs/reference/doxygen_to_devhelp.xsl
@@ -16,12 +16,12 @@ libraries. Pass them in on the commandline -->
name="{$book_name}"
link="{$reference_prefix}/index.html">
<chapters>
- <sub name="Classes" link="{$reference_prefix}classes.html">
+ <sub name="Classes" link="{$reference_prefix}/classes.html">
<xsl:apply-templates select="doxygenindex/compound[@kind='class']">
<xsl:sort select="."/>
</xsl:apply-templates>
</sub>
- <sub name="Namespaces" link="{$reference_prefix}namespaces.html">
+ <sub name="Namespaces" link="{$reference_prefix}/namespaces.html">
<xsl:apply-templates select="doxygenindex/compound[@kind='namespace']">
<xsl:sort select="."/>
</xsl:apply-templates>
@@ -38,7 +38,7 @@ libraries. Pass them in on the commandline -->
<xsl:template match="compound">
<xsl:param name="name"><xsl:value-of select="name"/></xsl:param>
<xsl:param name="link"><xsl:value-of select="@refid"/>.html</xsl:param>
- <sub name="{$name}" link="{$reference_prefix}{$link}">
+ <sub name="{$name}" link="{$reference_prefix}/{$link}">
<xsl:apply-templates select="member" mode="as-sub">
<xsl:sort select="."/>
</xsl:apply-templates>
@@ -55,7 +55,7 @@ libraries. Pass them in on the commandline -->
<xsl:variable name="link">
<xsl:call-template name="get-member-link" />
</xsl:variable>
- <function name="{$fqn}" link="{$reference_prefix}{$link}"/>
+ <function name="{$fqn}" link="{$reference_prefix}/{$link}"/>
</xsl:template>
<xsl:template match="member" mode="as-sub">
@@ -65,7 +65,7 @@ libraries. Pass them in on the commandline -->
<xsl:variable name="link">
<xsl:call-template name="get-member-link" />
</xsl:variable>
- <sub name="{$fqn}" link="{$reference_prefix}{$link}"/>
+ <sub name="{$fqn}" link="{$reference_prefix}/{$link}"/>
</xsl:template>