Skip to content

Commit d21ddc2

Browse files
committed
Fix warnings in man page build
The changes in the CREATE POLICY man page from commit 87c2a17 triggered a stylesheet bug that created some warning messages and incorrect output. This installs a workaround. Also improve the whitespace a bit so it looks better.
1 parent 51057fe commit d21ddc2

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

doc/src/sgml/ref/create_policy.sgml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
445445
<row>
446446
<entry><command>INSERT ... RETURNING</command></entry>
447447
<entry>
448-
New row
449-
<footnote id="rls-select-priv">
448+
New row <footnote id="rls-select-priv">
450449
<para>
451450
If read access is required to the existing or new row (for example,
452451
a <literal>WHERE</literal> or <literal>RETURNING</literal> clause
@@ -462,8 +461,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
462461
<row>
463462
<entry><command>UPDATE</command></entry>
464463
<entry>
465-
Existing &amp; new rows
466-
<footnoteref linkend="rls-select-priv"/>
464+
Existing &amp; new rows <footnoteref linkend="rls-select-priv"/>
467465
</entry>
468466
<entry>&mdash;</entry>
469467
<entry>Existing row</entry>
@@ -473,8 +471,7 @@ CREATE POLICY <replaceable class="parameter">name</replaceable> ON <replaceable
473471
<row>
474472
<entry><command>DELETE</command></entry>
475473
<entry>
476-
Existing row
477-
<footnoteref linkend="rls-select-priv"/>
474+
Existing row <footnoteref linkend="rls-select-priv"/>
478475
</entry>
479476
<entry>&mdash;</entry>
480477
<entry>&mdash;</entry>

doc/src/sgml/stylesheet-man.xsl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,12 @@
191191
<xsl:template match="indexterm"/>
192192

193193

194+
<!-- https://github.com/docbook/xslt10-stylesheets/issues/59 -->
195+
<xsl:template match="a/sup">
196+
<xsl:apply-templates/>
197+
</xsl:template>
198+
199+
194200
<!-- Gentext customization -->
195201

196202
<!-- see http://www.sagehill.net/docbookxsl/CustomGentext.html -->

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy