From: Peter Krempa Date: Thu, 22 Feb 2024 12:29:07 +0000 (+0100) Subject: docs: newapi: Don't generate empty
in template for ACL permissions X-Git-Tag: v10.2.0-rc1~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a0af92df6f43b1dac9aa80164d87e41db4c6b95;p=thirdparty%2Flibvirt.git docs: newapi: Don't generate empty
in template for ACL permissions If an API has no ACLs an empty
would be generated which is mis-interpreted by browsers when creating DOM to nest any subsequent elements under it. Don't generate the ACL section div unless it will be filled. Best viewed with 'git show -w' Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 38cefb2ca8..b60680ae97 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -26,30 +26,34 @@ - -
Access control parameter checks
- - - - - - - - - -
ObjectPermissionCondition
-
- -
Access control return value filters
- - - - - - - - -
ObjectPermission
+ +
+ +
Access control parameter checks
+ + + + + + + + + +
ObjectPermissionCondition
+
+ +
Access control return value filters
+ + + + + + + + +
ObjectPermission
+
+
@@ -702,11 +706,9 @@ -
- - - -
+ + +