From e49b305c564259dbe85c7c08ad9654f77fcb6f12 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 29 Feb 2024 10:39:29 +0100 Subject: [PATCH] docs: site: Don't generate ' both for the RST-generated pages and for the API docs generated from the API XML. Additionally remove the spurious xsl:output directive from newapi.xsl which is ignored and thus misleading. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 7 +++---- docs/site.xsl | 5 +---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index d6f8d88170..38cefb2ca8 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -17,8 +17,6 @@ - - @@ -811,8 +809,9 @@ + omit-xml-declaration="yes" + encoding="UTF-8" + indent="yes"> diff --git a/docs/site.xsl b/docs/site.xsl index c0b56be72f..5a5fea2350 100644 --- a/docs/site.xsl +++ b/docs/site.xsl @@ -22,10 +22,7 @@ - +