- Add support for the svnref element
This commit is contained in:
parent
44368e5859
commit
be2bbeeff4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/projects/xml-tools/; revision=41214
2 changed files with 12 additions and 3 deletions
share
|
@ -134,7 +134,7 @@ html {
|
|||
color: #007a00;
|
||||
}
|
||||
|
||||
svnref {
|
||||
.svnref {
|
||||
color: #007a00;
|
||||
}
|
||||
|
||||
|
|
|
@ -29,8 +29,17 @@
|
|||
For questions about this documentation, e-mail <<a href="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>>.</small></p>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="hostid|username|groupname|devicename|maketarget|makevar">
|
||||
<xsl:call-template name="inline.monoseq"/>
|
||||
<xsl:template match="svnref">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:text>http://svnweb.freebsd.org/base?view=revision&revision=</xsl:text>
|
||||
<xsl:value-of select="."/>
|
||||
</xsl:attribute>
|
||||
|
||||
<span class="svnref">
|
||||
<xsl:value-of select="."/>
|
||||
</span>
|
||||
</a>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="generate.citerefentry.link">
|
||||
|
|
Loading…
Reference in a new issue