openSUSE / suse-xsl

DocBook XSL Stylesheets for SUSE branding
Other
11 stars 10 forks source link

Actually generate an ID for titled orderedlists #412

Closed ghost closed 2 years ago

ghost commented 4 years ago

This begets a permalink but not an actual id attribute on the element, rendering the permalink useless:

<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">

[...]

<orderedlist numeration="arabic">
<title>procedure: Debug spacewalk-repo-sync</title>
<listitem>
<simpara>Start debugging mode with <literal role="command">export URLGRABBER_DEBUG=DEBUG</literal></simpara>
</listitem>
<listitem>
<simpara>Check the output of <literal role="command">/usr/bin/spacewalk-repo-sync --channel <emphasis>&lt;channel-label&gt;</emphasis> --type yum</literal></simpara>
</listitem>
<listitem>
<simpara>If you want to disable debug mode, use <literal role="command">unset URLGRABBER_DEBUG</literal></simpara>
</listitem>
</orderedlist>

https://documentation.suse.com/external-tree/en-us/suma/3.2/susemanager-best-practices/single-html/book.suma.best.practices/book.suma.best.practices.html#id-1.3.4.3.6.4.3

(via M. Meisters)

ghost commented 3 years ago

Dupe: bsc#1190233 - make sure to close when fixed.

janajaeger commented 2 years ago

Permalink has been implemented. Closing.