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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
docs/newapi.xsl | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

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

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux