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

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



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


Reviewed-by: Ján Tomko <jtomko 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

Attachment: signature.asc
Description: PGP signature


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