From 1fa7443dc75ec3795935c41e5415323de2bffa9f Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Wed, 24 May 2023 10:22:47 +0200 Subject: [PATCH] docs: newapi.xsl: Generate docs on generic typedefs We have plenty of generic typedefs (that basically just alias a struct, or our popular virXXXPtr). Because we do not generate HTML docs for it, the documentation is placed at random places, e.g.: comment from virDomainPtr typedef ("a virDomainPtr is pointer to a virDomain private structure ...") ends up after virDomainProcessSignal enum block. There are some less weird occurrences of this problem (e.g. virBlkioParameterPtr), but yet - the typedef appears in TOC. Therefore, generate a block for each typedef and put its description there. Signed-off-by: Michal Privoznik Reviewed-by: Peter Krempa --- docs/newapi.xsl | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index a8797f800d..9e35fe3a60 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -258,7 +258,7 @@ - + @@ -324,6 +324,26 @@ + + + +

+
+
+        typedef 
+        
+         
+        
+        ;
+      
+
+
+ + + +
+
+ typedef