[libvirt] [PATCH] docs: Make anchors in API html files clickable/linkable

Ján Tomko jtomko at redhat.com
Thu Aug 15 12:17:57 UTC 2019


On Thu, Aug 15, 2019 at 10:21:59AM +0200, Peter Krempa wrote:
>Use 'id' instead of 'name' for anchors which adds the hidden clickable
>headerlink helper so it's way simpler to link to a specific part of the
>docs.
>

<a name> was deprecated in favor of <a id> anyway.

>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> docs/newapi.xsl | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

There are also three more occurrences of <a name> inside a heading:
$ git grep -n 'h.*a name' docs/newapi.xsl
docs/newapi.xsl:786:          <h3><a name="macros">Macros</a></h3>
docs/newapi.xsl:791:        <h3><a name="types">Types</a></h3>
docs/newapi.xsl:795:        <h3><a name="functions">Functions</a></h3>

Feel free to include the changes here. Or not.

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190815/3b014594/attachment-0001.sig>


More information about the libvir-list mailing list