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

2019-08-15 Thread Ján Tomko

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.



 was deprecated in favor of  anyway.


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



Reviewed-by: Ján Tomko 

There are also three more occurrences of  inside a heading:
$ git grep -n 'h.*a name' docs/newapi.xsl
docs/newapi.xsl:786:  Macros
docs/newapi.xsl:791:Types
docs/newapi.xsl:795:Functions

Feel free to include the changes here. Or not.

Jano


signature.asc
Description: PGP signature
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

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

2019-08-15 Thread Peter Krempa
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.

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

diff --git a/docs/newapi.xsl b/docs/newapi.xsl
index c808fe5ff8..f9cbcb6323 100644
--- a/docs/newapi.xsl
+++ b/docs/newapi.xsl
@@ -308,7 +308,7 @@

   
 
-
+
 
   
 enum 
@@ -357,7 +357,7 @@
   

   
-
+
 
   
 struct 
@@ -447,7 +447,7 @@

   
 
-
+
 #define 

 
 
@@ -558,7 +558,7 @@
 
 
 
-
+
 
 typedef 
 
@@ -636,7 +636,7 @@
 
 
 
-
+
 
 
   
-- 
2.21.0

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