Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2e32a77

Browse files
committed
doc: Add support for xref to command and function elements
Discussion: https://www.postgresql.org/message-id/517abe28-8a93-5b7a-ff40-b1fd61d33b26%402ndquadrant.com
1 parent d0f5d25 commit 2e32a77

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/src/sgml/stylesheet-common.xsl

+11
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,15 @@
8686
<xsl:text>?</xsl:text>
8787
</xsl:template>
8888

89+
90+
<!-- Support for generating xref link text to additional elements -->
91+
92+
<xsl:template match="command" mode="xref-to">
93+
<xsl:apply-templates select="." mode="xref"/>
94+
</xsl:template>
95+
96+
<xsl:template match="function" mode="xref-to">
97+
<xsl:apply-templates select="." mode="xref"/>
98+
</xsl:template>
99+
89100
</xsl:stylesheet>

0 commit comments

Comments
 (0)