##// END OF EJS Templates
add bugzilla integration hook. example of writing hook in python....
add bugzilla integration hook. example of writing hook in python. hook updates bugzilla bugs when it sees commit comments that mention bug id, such as "i fixed bug 77". only bugzilla 2.16 supported yet, but easy to extend. bugzilla versions have different schema, i have not used later than 2.16.

File last commit:

r1500:cadde8eb default
r2192:2be3ac7a default
Show More
docbook.ja.xsl
23 lines | 734 B | application/xml | XsltLexer
<?xml version='1.0' encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"/>
<xsl:output encoding="UTF-8"/>
<xsl:template match="refnamediv">
<xsl:text>.SH 名前&#10;</xsl:text>
<xsl:for-each select="refname">
<xsl:if test="position()>1">
<xsl:text>, </xsl:text>
</xsl:if>
<xsl:value-of select="."/>
</xsl:for-each>
<xsl:text> \- </xsl:text>
<xsl:value-of select="normalize-space (refpurpose)"/>
</xsl:template>
<xsl:template match="refsynopsisdiv">
<xsl:text>&#10;.SH "書式"&#10;</xsl:text>
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>