From 5ee27c37e6d0d081714d1e1d25a0a4e472665120 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 17 May 2023 14:17:56 +0200 Subject: [PATCH] docs: xsl: Simplify templating XSL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap the auto-generated pages (API ref and hvsupport.html) in the proper top level element similarly to what the pages generated from RST have to remove the extra case when templating our web. (Best viewed with 'git show -w') Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- docs/newapi.xsl | 94 ++++++++++++++++++++++---------------------- docs/page.xsl | 11 ------ scripts/hvsupport.py | 5 ++- 3 files changed, 51 insertions(+), 59 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index cc683707cf..a8797f800d 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -733,54 +733,56 @@ -

- -

Table of Contents

- -

Macros

-
-            
-              
-            
-          
-
- -

Types

-
-            
-              
-            
-          
-
- -

Functions

-
-            
-              
-            
-          
-
+
+

+ +

Table of Contents

+ +

Macros

+
+              
+                
+              
+            
+
+ +

Types

+
+              
+                
+              
+            
+
+ +

Functions

+
+              
+                
+              
+            
+
-

Description

+

Description

- -

Macros

- - - -
- -

Types

- - - -
- -

Functions

- - - -
+ +

Macros

+ + + +
+ +

Types

+ + + +
+ +

Functions

+ + + +
+
diff --git a/docs/page.xsl b/docs/page.xsl index a93f24fb09..c92ceffec7 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -73,17 +73,6 @@ - - -
- - - - - - -
-