diff options
author | Peter Eisentraut | 2019-07-22 12:04:48 +0000 |
---|---|---|
committer | Peter Eisentraut | 2019-07-26 08:39:13 +0000 |
commit | 2e32a7711a8a6e3020c9fb431705dadaed305120 (patch) | |
tree | 315404757859fb0590cfe388a02c9159828394c2 | |
parent | d0f5d25b393747157d35c775e0942a0c68957823 (diff) |
doc: Add support for xref to command and function elements
Discussion: https://www.postgresql.org/message-id/517abe28-8a93-5b7a-ff40-b1fd61d33b26%402ndquadrant.com
-rw-r--r-- | doc/src/sgml/stylesheet-common.xsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/stylesheet-common.xsl b/doc/src/sgml/stylesheet-common.xsl index 6d26e7e5c9..e148c9057f 100644 --- a/doc/src/sgml/stylesheet-common.xsl +++ b/doc/src/sgml/stylesheet-common.xsl @@ -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> |