From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709218925454816.6660510297296; Thu, 29 Feb 2024 07:02:05 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 6D8C31BAE; Thu, 29 Feb 2024 10:02:04 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6A4551B80; Thu, 29 Feb 2024 09:58:39 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 2B17319D1; Thu, 29 Feb 2024 09:58:28 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id A034A1976 for ; Thu, 29 Feb 2024 09:58:27 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-616-igBQwD7-NHqUOVFPXAi5yA-1; Thu, 29 Feb 2024 09:58:26 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BD7D23816B4B for ; Thu, 29 Feb 2024 14:58:25 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 359DF1BDB1 for ; Thu, 29 Feb 2024 14:58:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: igBQwD7-NHqUOVFPXAi5yA-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 1/9] docs: site: Don't generate ' In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: 4WZINI7RFI56QTBYWFAQWVQCLWGIMQZS X-Message-ID-Hash: 4WZINI7RFI56QTBYWFAQWVQCLWGIMQZS X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709218926700100001 Skip the XML header as it's invalid with 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=3D"yes" + encoding=3D"UTF-8" + indent=3D"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 @@ - + --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219026413557.2194775823415; Thu, 29 Feb 2024 07:03:46 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 4AC141BF6; Thu, 29 Feb 2024 10:03:45 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id A32931BBF; Thu, 29 Feb 2024 09:58:47 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 4337E1976; Thu, 29 Feb 2024 09:58:29 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 77A6419D1 for ; Thu, 29 Feb 2024 09:58:28 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-36-F1_al-OONoKM-w4wcJndYw-1; Thu, 29 Feb 2024 09:58:26 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A015F185A784 for ; Thu, 29 Feb 2024 14:58:26 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1A1881BDB1 for ; Thu, 29 Feb 2024 14:58:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: F1_al-OONoKM-w4wcJndYw-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 2/9] docs: page: Add 'lang="en"' for all HTML output documents Date: Thu, 29 Feb 2024 15:58:16 +0100 Message-ID: <1e72d21224f39120befe9a541cc87f63ec5f67b9.1709218314.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: TML6ANXSVUZLYN2IC2C5UTD43BFLZQF4 X-Message-ID-Hash: TML6ANXSVUZLYN2IC2C5UTD43BFLZQF4 X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219027223100001 Per the w3 HTML validator the 'lang' attribute is suggested. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/page.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/page.xsl b/docs/page.xsl index a51587db6c..7dcbc2d7a4 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -21,7 +21,7 @@ <!DOCTYPE html> - + This file is autogenerated from Do not edit this file. Changes will be lost. --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219107466565.0408266143749; Thu, 29 Feb 2024 07:05:07 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 39C061B80; Thu, 29 Feb 2024 10:05:06 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 97F351BD5; Thu, 29 Feb 2024 09:58:56 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 69D1F1A39; Thu, 29 Feb 2024 09:58:30 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B1D1219D1 for ; Thu, 29 Feb 2024 09:58:29 -0500 (EST) Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-126-I4QOuDryPf6Wd4VpWTcPKQ-1; Thu, 29 Feb 2024 09:58:27 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 90E3A1C0982F for ; Thu, 29 Feb 2024 14:58:27 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0ABA81BDB1 for ; Thu, 29 Feb 2024 14:58:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: I4QOuDryPf6Wd4VpWTcPKQ-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 3/9] docs: page: Fix declaration of main javascript source Date: Thu, 29 Feb 2024 15:58:17 +0100 Message-ID: <425e3b93833493b6aad632333dbed23d9334c7ff.1709218314.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: QTXLKDTCU4KCH3YGWIM4XNAMO4OKUEND X-Message-ID-Hash: QTXLKDTCU4KCH3YGWIM4XNAMO4OKUEND X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219109643100001 Per the w3 html validator a HTML/XML comment is not allowed inside the --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 17092193977371009.3412215052081; Thu, 29 Feb 2024 07:09:57 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 919D71EF2; Thu, 29 Feb 2024 10:09:56 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 6ECD11C92; Thu, 29 Feb 2024 09:59:24 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id AB3C71A8D; Thu, 29 Feb 2024 09:58:59 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4885B1976 for ; Thu, 29 Feb 2024 09:58:33 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-230-dT29oDaNOYq9R4Fv0T4uWg-1; Thu, 29 Feb 2024 09:58:28 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8251A185A781 for ; Thu, 29 Feb 2024 14:58:28 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id EEB201097C for ; Thu, 29 Feb 2024 14:58:27 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: dT29oDaNOYq9R4Fv0T4uWg-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 4/9] docs: index: Fix import of blog planet javascript Date: Thu, 29 Feb 2024 15:58:18 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: DA6CZX446PPUWZQECLY7VKZSJ4TSE747 X-Message-ID-Hash: DA6CZX446PPUWZQECLY7VKZSJ4TSE747 X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219398810100001 Similarly to previous commit drop the 'type' attribute which is frowned upon by the HTML standard. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 79afae65da..6b2f2386ee 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -65,7 +65,7 @@ Blog Planet .. raw:: html -
--=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219205557833.9680843152705; Thu, 29 Feb 2024 07:06:45 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 8665D1A5E; Thu, 29 Feb 2024 10:06:44 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E46AB1ACB; Thu, 29 Feb 2024 09:59:05 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 2BB921A49; Thu, 29 Feb 2024 09:58:33 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 9D14D19D1 for ; Thu, 29 Feb 2024 09:58:31 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-519-oNPBKWIuNw6XxZqrwupoew-1; Thu, 29 Feb 2024 09:58:29 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6FB9B863010 for ; Thu, 29 Feb 2024 14:58:29 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id DE1D01BDB1 for ; Thu, 29 Feb 2024 14:58:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: oNPBKWIuNw6XxZqrwupoew-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 5/9] docs: newapi: Don't generate empty
in template for ACL permissions Date: Thu, 29 Feb 2024 15:58:19 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: GUALOMMDJ5QROQOKZLHYJHSONTWZLJKP X-Message-ID-Hash: GUALOMMDJ5QROQOKZLHYJHSONTWZLJKP X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219206087100001 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 --- docs/newapi.xsl | 60 +++++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 29 deletions(-) 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 @@ - 0"> -
Access control parameter checks
- - - - - - - - - -
ObjectPermissionCondition
-
- 0"> -
Access control return value filters
- - - - - - - - -
ObjectPermission
+ 0 or count($acl/filter) > 0"> +
+ 0"> +
Access control parameter checks
+ + + + + + + + + +
ObjectPermissionCondition
+
+ 0"> +
Access control return value filters
+ + + + + + + + +
ObjectPermission
+
+
@@ -702,11 +706,9 @@ -
- - - -
+ + + --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219311386262.91421823710573; Thu, 29 Feb 2024 07:08:31 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 3730D1EA0; Thu, 29 Feb 2024 10:08:30 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 644741B52; Thu, 29 Feb 2024 09:59:17 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 6A3991B52; Thu, 29 Feb 2024 09:58:36 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 71C651A39 for ; Thu, 29 Feb 2024 09:58:32 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-307-eWvpGJ_5NJ-aWG9Mmp_k2Q-1; Thu, 29 Feb 2024 09:58:30 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 56373185A784 for ; Thu, 29 Feb 2024 14:58:30 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id C44331BDB1 for ; Thu, 29 Feb 2024 14:58:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: eWvpGJ_5NJ-aWG9Mmp_k2Q-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 6/9] docs: newapi: Avoid empty
s when there is no description Date: Thu, 29 Feb 2024 15:58:20 +0100 Message-ID: <237ca029e7a5170f56278af8c3fb27f4805f125d.1709218314.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: CX6PNSM3XLQTTRIQDYACFI3LE4ACBYTT X-Message-ID-Hash: CX6PNSM3XLQTTRIQDYACFI3LE4ACBYTT X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219312458100001 The various objects we generate API for may have empty description in which case an empty div would be generated when processing the API description. As we're using XML output mode the generator would shorten such divs to the non-pair empty element version, which doesn't work well with HTML5 parsers requiring a pair tag for
Avoid empty description
elements altogether by skipping it if the description is empty. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index b60680ae97..539e0a4175 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -222,6 +222,19 @@ + + + + + +
+ + + +
+
+
+ #define @@ -287,11 +300,10 @@

-
- + + description -
         enum 
@@ -343,11 +355,10 @@
         ;
       
-
- + + description -
@@ -452,11 +463,11 @@

#define =
-
- + + description -
+
@@ -604,11 +615,10 @@ ) -
- + + description -
@@ -680,11 +690,11 @@ ) -
- + + description -
+
--=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219481894298.31925652932114; Thu, 29 Feb 2024 07:11:21 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id 84A2B1EA4; Thu, 29 Feb 2024 10:11:20 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id C0DE21B91; Thu, 29 Feb 2024 09:59:33 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 35CE91A94; Thu, 29 Feb 2024 09:59:03 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 866CF1A50 for ; Thu, 29 Feb 2024 09:58:33 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-350-0s1dVba-OjSJPgT69ndn8A-1; Thu, 29 Feb 2024 09:58:31 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3CF571066681 for ; Thu, 29 Feb 2024 14:58:31 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id AA9931BDB1 for ; Thu, 29 Feb 2024 14:58:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 0s1dVba-OjSJPgT69ndn8A-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 7/9] docs: newapi: Avoid table where every row has an cell with 'colspan' Date: Thu, 29 Feb 2024 15:58:21 +0100 Message-ID: <874d98c15fbdf67225e601797db41c860a489491.1709218314.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: 6Q22UPPJNUVLEIXO24PIQOUPAOIFBKWJ X-Message-ID-Hash: 6Q22UPPJNUVLEIXO24PIQOUPAOIFBKWJ X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219483116100001 The HTML standard requires that a table column must include at least one row which defines it exclusively, thus having a table where all rows unite it via 'colspan' is illegal. Modify the enum value generator to always output the description field even when it's empty rather than uniting it, as in case when each value doesn't have a description the generated document would violate the standard. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 539e0a4175..36bb41c877 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -317,9 +317,9 @@ =3D + -
@@ -329,7 +329,7 @@ - + --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219602879738.3640769751346; Thu, 29 Feb 2024 07:13:22 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id C085D1BB6; Thu, 29 Feb 2024 10:13:21 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E13C41D6F; Thu, 29 Feb 2024 09:59:43 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id 3DA361ADD; Thu, 29 Feb 2024 09:59:07 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 07AB11A5F for ; Thu, 29 Feb 2024 09:58:34 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-94-3eqsYLhPOxCkueUIdRGNXA-1; Thu, 29 Feb 2024 09:58:32 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 228B41066683 for ; Thu, 29 Feb 2024 14:58:32 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 908FE1BDB1 for ; Thu, 29 Feb 2024 14:58:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: 3eqsYLhPOxCkueUIdRGNXA-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 8/9] docs: newapi: Properly skip ACL entries if empty Date: Thu, 29 Feb 2024 15:58:22 +0100 Message-ID: <252c2cda7ac30e17f59df5416b3056fbd07cef7d.1709218314.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: LJX4ETJOFVZTHUVIPWM6H44GVRJ52MLQ X-Message-ID-Hash: LJX4ETJOFVZTHUVIPWM6H44GVRJ52MLQ X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219603578100001 The source document can contain an empty '@flags' attribute which passes the test but generates an empty element. Check that flags is non-empty to trigger the fallback. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 36bb41c877..51f159a2f8 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -62,7 +62,7 @@ - + --=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org From nobody Sat May 11 23:43:54 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709219719744201.03669428033504; Thu, 29 Feb 2024 07:15:19 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id B040D1B61; Thu, 29 Feb 2024 10:15:18 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id A76391DAB; Thu, 29 Feb 2024 09:59:52 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id C472C1B2B; Thu, 29 Feb 2024 09:59:11 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 229DD1AA2 for ; Thu, 29 Feb 2024 09:58:35 -0500 (EST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-150-ykaj69WGMV-yKFyfQ9rm0g-1; Thu, 29 Feb 2024 09:58:33 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 11847863018 for ; Thu, 29 Feb 2024 14:58:33 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.45.242.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 801331BDB1 for ; Thu, 29 Feb 2024 14:58:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-MC-Unique: ykaj69WGMV-yKFyfQ9rm0g-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 9/9] docs: newapi: Fix generation of type definition tables Date: Thu, 29 Feb 2024 15:58:23 +0100 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: A6TL6OUSKJ75ZGNGZ32HJFSMTSJ6OTGH X-Message-ID-Hash: A6TL6OUSKJ75ZGNGZ32HJFSMTSJ6OTGH X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709219720081100001 Ensure that all rows have 3 columns and avoid generation of emtpy elements which would be turned by the XML formatter into non-pair td/tr tags which don't work properly with HTML5 parsers. Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- docs/newapi.xsl | 45 +++++++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 51f159a2f8..aff4cf0d4e 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -384,7 +384,7 @@ - union { + union= { @@ -397,31 +397,35 @@ - - - + + +
+ +
-
- - } - - + + + + } + -
- - - -
+ +
+ + + +
+
+ -
- +
@@ -433,15 +437,16 @@ - - + +
- -
+
+ +
--=20 2.43.0 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org