From nobody Tue May 14 04:11:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1649764401; cv=none; d=zohomail.com; s=zohoarc; b=WVJvrX/NPjNxQTXsSIpHbCYrjCN/ypazAVE+5hsSgocVf0oOuvro76X0OOrOUh/9oOIlWFe2vltZQk4dpkPQ0PEd8TbaKZ9+YPuZ9L0Pk7vJXZ+O9pGU6mW/vtysDz1m/WjtbfzfMWlTJ7fLBBhruiaunsaCuKioOI/nFEsIu60= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649764401; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=bCD67JT6iuaWbYwiWW2oacJOlChMOdjGEUExqsBPQZk=; b=iWK8Qj/7QqDcOP1gFcswXvrH3J7aoGtcsgE0oDw1bJdvyUHrSn1beuR8nmE2fZVUBwlkEHT2mTLqIe16JrPg0cQ7VnNB0pjsyNsyilUk0ixs9R9lcr/oE60h3OdwdZ7G1wtnxYqe4YJ7iB6jpah7YKERk4bXc+H0GyIyAUmu0pM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1649764401425933.1081529866415; Tue, 12 Apr 2022 04:53:21 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-186-p-5jxJobOUCw49ugtaKYfQ-1; Tue, 12 Apr 2022 07:53:14 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0B75A1014A74; Tue, 12 Apr 2022 11:53:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E453DC44CD4; Tue, 12 Apr 2022 11:53:10 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0B7071940379; Tue, 12 Apr 2022 11:53:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 928FB1947BBF for ; Tue, 12 Apr 2022 11:53:08 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 65916145B98A; Tue, 12 Apr 2022 11:53:08 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id E1FFE145BA56 for ; Tue, 12 Apr 2022 11:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649764400; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=bCD67JT6iuaWbYwiWW2oacJOlChMOdjGEUExqsBPQZk=; b=As9/2QxuT8DbVLuYT91B0+e9q9ZhsDatGPM5obgc3ViipVXy3dQielTMqYZCftvIdnCejy wtCAjypmvUiDQrEEcDJu0p2sBI+vvMYkaPMjU/I5Png1551JHQtOyNZ/+7D26NZaWN+hbl 9435kGigqcTID7McHu+wB0oHd0sGnjE= X-MC-Unique: p-5jxJobOUCw49ugtaKYfQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/2] docs/css: Simplify selector for heading of 'knowledge-base' and 'documentation' pages Date: Tue, 12 Apr 2022 13:53:04 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1649764403290100004 Content-Type: text/plain; charset="utf-8"; x-default="true" Select direct 'h1' children of elements named 'knowledge-base' and 'documentation. It's simpler and will also work properly with docutils-0.17 and later where we don't have a div with class 'document' wrapping everything. Signed-off-by: Peter Krempa Reviewed-by: Jiri Denemark Reviewed-by: J=C3=A1n Tomko Reviewed-by: Martin Kletzander Reviewed-by: Michal Privoznik --- docs/css/libvirt.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 2ae80f8595..2b2208f56e 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -425,8 +425,8 @@ div.panel h2, height: 300px; } -#documentation.document > h1, -#knowledge-base.document > h1 { +#documentation > h1, +#knowledge-base > h1 { text-align: center; padding: 1em; } --=20 2.35.1 From nobody Tue May 14 04:11:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1649764399; cv=none; d=zohomail.com; s=zohoarc; b=ZcMfM2OXoLl2zj2uHlUesCNtl0Ixd96t93qzRgG9aJjSy8r07L4tLYlzhdfiptDICw0TQeeV27zt6Xx4iJ2fipnfQlLz2YoWYIZVmRokrzdfIRqw9nA8sUmesdWoyZJuC2lJkfB8UJ06mpZH3Uzfa0sqOuCTyVMgV8AfDeAV0rA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649764399; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=l1L2QCMOgzW2TlMgC9wd/l+SW9y67yqCg6YlaUJeEPg=; b=UczMApa/64GR2JyJ+XnID7zoF14NdHy6BsWEmlI/HklVAi+cyoybfzSfWuQ20YuBUlZmRcg8DDWRQPS1KejS8/Tb4I4Hs5r0x7OHxvW1RLrzsdciwqbDq0ZJCLffeuLCjZ3On99vAJu5hoWEF3u4AuxYMN2qIb6Bfz4lbu8VzMs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1649764399610515.6096219526148; Tue, 12 Apr 2022 04:53:19 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-488-xUxlhxbDMzOMZ1JIGDmaqA-1; Tue, 12 Apr 2022 07:53:14 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0D086805F68; Tue, 12 Apr 2022 11:53:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4466406793; Tue, 12 Apr 2022 11:53:11 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 567F9193F6EA; Tue, 12 Apr 2022 11:53:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5C5AD1940379 for ; Tue, 12 Apr 2022 11:53:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5272F145B98A; Tue, 12 Apr 2022 11:53:09 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id C3A0F145BA55 for ; Tue, 12 Apr 2022 11:53:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649764398; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l1L2QCMOgzW2TlMgC9wd/l+SW9y67yqCg6YlaUJeEPg=; b=YTSzh1GHb6pWc0Cpza6l9eydGGnLupVJ4wi8H/QDpOfquY6lmmmxQ5q38HqMd5Uqu4YNA+ zqkUBZVw0hlP8FH1tb6p/pSlshzyimspWYta7Zk/MgHqUejgb80lnKwwzTT5xl8JAHWHtG npVDg26TdE+N5+shmeWAgZXpjthCn58= X-MC-Unique: xUxlhxbDMzOMZ1JIGDmaqA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/2] docs: Adapt to semantic tag usage of docutils-0.17 and later Date: Tue, 12 Apr 2022 13:53:05 +0200 Message-Id: <5c954bdcd0eb6cde317d0365b3c52371059e89b1.1649764071.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1649764401343100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Docutils-0.17 switched to using
instead of a
and
instead of
. To ensure that our pages still work we need to slightly adapt our XSL stylesheet to select the
tag properly and adapt the CSS to also select the 'section' element instead of a class and to apply to a
tag with the appropriate names. Docutils-0.17 also changed to use 'h2' for section heading instead of 'h1'. Note the styles applied to the 'main' element with certain id can't be made more universal by just applying to the id itself, as in certain cases (e.g. 'documentation') we also have sections with that name. This was previously ensured by also matching the 'document' class which would make it equal to the 'main' element. Signed-off-by: Peter Krempa Reviewed-by: Jiri Denemark Reviewed-by: J=C3=A1n Tomko Reviewed-by: Martin Kletzander Reviewed-by: Michal Privoznik --- docs/css/libvirt.css | 9 +++++++++ docs/page.xsl | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 2b2208f56e..097dfcbe8e 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -95,6 +95,7 @@ margin-right: 1em; } +main, .document { margin-left: auto; margin-right: auto; @@ -104,9 +105,13 @@ width: 70em; } +main#index, #index.document, +main#hvsupport, #hvsupport.document, +main#documentation, #documentation.document, +main#knowledge-base, #knowledge-base.document { width: inherit; @@ -397,7 +402,9 @@ h6:hover > a.headerlink { } div.panel, +#documentation section, #documentation .section, +#knowledge-base section, #knowledge-base .section { width: 24%; @@ -407,7 +414,9 @@ div.panel, } div.panel h2, +#documentation section h2, #documentation .section h1, +#knowledge-base section h2, #knowledge-base .section h1 { margin-top: 0px; padding: 0.5em; diff --git a/docs/page.xsl b/docs/page.xsl index a6a270896c..7d0203cf62 100644 --- a/docs/page.xsl +++ b/docs/page.xsl @@ -120,9 +120,15 @@
+ + + + + +
--=20 2.35.1