doc: Add support for xref to command and function elements

Discussion: https://www.postgresql.org/message-id/517abe28-8a93-5b7a-ff40-b1fd61d33b26%402ndquadrant.com
This commit is contained in:
Peter Eisentraut 2019-07-22 14:04:48 +02:00
parent d0f5d25b39
commit 2e32a7711a
1 changed files with 11 additions and 0 deletions

View File

@ -86,4 +86,15 @@
<xsl:text>?</xsl:text>
</xsl:template>
<!-- Support for generating xref link text to additional elements -->
<xsl:template match="command" mode="xref-to">
<xsl:apply-templates select="." mode="xref"/>
</xsl:template>
<xsl:template match="function" mode="xref-to">
<xsl:apply-templates select="." mode="xref"/>
</xsl:template>
</xsl:stylesheet>