[library-web] also try to fix xrefs for docs pointing to http://developer.gnome.org
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] also try to fix xrefs for docs pointing to http://developer.gnome.org
- Date: Sun, 10 Jun 2012 16:17:29 +0000 (UTC)
commit afd423aa3f951b9f75a9a841ba1b23f13ebd2451
Author: FrÃdÃric PÃters <fpeters 0d be>
Date: Sun Jun 10 18:17:05 2012 +0200
also try to fix xrefs for docs pointing to http://developer.gnome.org
data/xslt/html2html.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/xslt/html2html.xsl b/data/xslt/html2html.xsl
index a4e7aa0..7d4fef8 100644
--- a/data/xslt/html2html.xsl
+++ b/data/xslt/html2html.xsl
@@ -85,7 +85,7 @@ along with libgo; if not, write to the Free Software Foundation, Inc.,
<xsl:template match="@href" mode="gtk-doc">
<xsl:attribute name="href">
<xsl:choose>
- <xsl:when test="starts-with(., 'http://library.gnome.org/devel/') or (not(starts-with(., 'http://')) and not(starts-with(., 'ftp://')))">
+ <xsl:when test="starts-with(., 'http://developer.gnome.org/') or starts-with(., 'http://library.gnome.org/devel/') or (not(starts-with(., 'http://')) and not(starts-with(., 'ftp://')))">
<xsl:choose>
<xsl:when test="contains(., '/gobject/stable/')">
<xsl:value-of select="concat('../../gobject/stable/', substring-after(., '/gobject/stable/'))"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]