aboutsummaryrefslogtreecommitdiff
path: root/docs/xslt
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-09-08 13:26:37 +0000
committerRuslan Ermilov <ru@nginx.com>2011-09-08 13:26:37 +0000
commit18870058fe00eb08e02d5f0156423c87f519816c (patch)
tree5803bfaf23c5fe119d15cdc476b8801ab07c56ca /docs/xslt
parentaab747108d26006b90dd3390799a15c0f6c77ba0 (diff)
downloadnginx-18870058fe00eb08e02d5f0156423c87f519816c.tar.gz
nginx-18870058fe00eb08e02d5f0156423c87f519816c.zip
Regenerate after previous commit.
Diffstat (limited to 'docs/xslt')
-rw-r--r--docs/xslt/content.xslt20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/xslt/content.xslt b/docs/xslt/content.xslt
index 7817700c1..0245ae725 100644
--- a/docs/xslt/content.xslt
+++ b/docs/xslt/content.xslt
@@ -101,12 +101,32 @@
<xsl:text>)</xsl:text>
</xsl:template>
+ <xsl:template match="link[@url]">
+ <a href="{@url}">
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
+
<xsl:template match="link[@id and not(@doc)]">
<a href="#{@id}">
<xsl:apply-templates/>
</a>
</xsl:template>
+ <xsl:template match="link[@doc and not(@id)]">
+
+ <a href="{substring-before(@doc, '.xml')}.html">
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
+
+ <xsl:template match="link[@id and @doc]">
+
+ <a href="{substring-before(@doc, '.xml')}.html#{@id}">
+ <xsl:apply-templates/>
+ </a>
+ </xsl:template>
+
<xsl:template match="link">
<u>
<xsl:apply-templates/>