mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
doc: Fix DocBook XML validity
The main problem is that DocBook SGML allows indexterm elements just
about everywhere, but DocBook XML is stricter. For example, this common
pattern
<varlistentry>
<indexterm>...</indexterm>
<term>...</term>
...
</varlistentry>
needs to be changed to something like
<varlistentry>
<term>...<indexterm>...</indexterm></term>
...
</varlistentry>
See also bb4eefe7bf
.
There is currently nothing in the build system that enforces that things
stay valid, because that requires additional tools and will receive
separate consideration.
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<indexterm>
|
||||
<primary>pg_freespace</primary>
|
||||
</indexterm>
|
||||
<term>
|
||||
<function>pg_freespace(rel regclass IN, blkno bigint IN) returns int2</function>
|
||||
<indexterm>
|
||||
<primary>pg_freespace</primary>
|
||||
</indexterm>
|
||||
</term>
|
||||
|
||||
<listitem>
|
||||
|
Reference in New Issue
Block a user