Mercurial > hg > nginx-quic
changeset 4082:1601b196e3eb
Regenerate after previous commit.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 08 Sep 2011 13:26:37 +0000 |
parents | deab88e4c35a |
children | 44c1953c266c |
files | docs/xslt/content.xslt |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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/>