From nobody Fri Oct 18 08:31:35 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=1684251216; cv=none; d=zohomail.com; s=zohoarc; b=bgrGKeE2kZhyrgO01gIzjbCHEg7Qvl3itMotwUuQbMPwM4w4JFxqeZiEA/CNMixvwnZ0qxRxNfYmXIJ8vqtqOPeXQiuz/aVc8sz0h1cH6wyybnRDihgS7MgQt334Ag2Q1n34B2TsIrn6Bkc9kqTXQxdtjGKmGphVJ9mu64jQaJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1684251216; 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=Sbb9W/s2dx69dgaoNdyFlp9KU7G1bmrtSk/n6SgcIbw=; b=Ddh0Y433tYoGKzM1RWklaUQU+QBEtx+qVhohQoHj2y6zTGBK0MAy/dkiJyPcM9oxiL40/HXsbqq+M+hXJM7iHZXIvngXl0NWqCC94LiVn9o6uAHKMbjiPgDU6jraoZKtdyXyWQSLw1snDsjQ/ES1vjAqQUKwqFmHB/TBDmMEvzU= 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 1684251216836545.92191866061; Tue, 16 May 2023 08:33:36 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-671-i4i5Qq1VPGyZB--aEgF9rA-1; Tue, 16 May 2023 11:32:04 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C28E02812966; Tue, 16 May 2023 15:31:50 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9AB1C40C2077; Tue, 16 May 2023 15:31:50 +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 69C5619465BD; Tue, 16 May 2023 15:31:50 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2E63E19465A3 for ; Tue, 16 May 2023 15:31:45 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 21C93400F5A; Tue, 16 May 2023 15:31:45 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8B427483EC2 for ; Tue, 16 May 2023 15:31:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1684251212; 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=Sbb9W/s2dx69dgaoNdyFlp9KU7G1bmrtSk/n6SgcIbw=; b=GocIeyZRA1ZismrXFJ54XlNTYK5QctJSR6/fq+QhvQ6+qyJ0hH/wLdtdB5eS1KWiyyU+MG csirfpz4QKzjRaOSrbImsKzJrFzUPOXTTAqVS/kJZ0lFeV6EMK+d1zF1HgkIcu+Fz3KGpx /6qILTgiWFaTRbDOiiVbShdg/KEPRUg= X-MC-Unique: i4i5Qq1VPGyZB--aEgF9rA-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 12/12] docs: index: Convert to 'rst' Date: Tue, 16 May 2023 17:31:32 +0200 Message-Id: <6d24f8ff7b31cdd08fdfdfeffd95a4cd27d7484d.1684250873.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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 3.1 on 10.11.54.1 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: 1684251218822100001 Content-Type: text/plain; charset="utf-8" Final piece of conversion of our non-generated pages to 'rst'. Special raw HTML is used for adding the appropriate code to fetch the blog planet. Signed-off-by: Peter Krempa --- docs/css/libvirt.css | 35 +++++++++++------- docs/css/mobile.css | 8 ++-- docs/index.html.in | 87 -------------------------------------------- docs/index.rst | 70 +++++++++++++++++++++++++++++++++++ docs/meson.build | 12 +----- 5 files changed, 98 insertions(+), 114 deletions(-) delete mode 100644 docs/index.html.in create mode 100644 docs/index.rst diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 2f4daa4690..8dfec17047 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -105,8 +105,8 @@ main, width: 70em; } -main#index, -#index.document, +main#the-virtualization-api, +#the-virtualization-api.document, main#hvsupport, #hvsupport.document, main#documentation, @@ -319,7 +319,8 @@ h6:hover > a.headerlink { visibility: visible; } -div.panel, +#the-virtualization-api section, +#the-virtualization-api .section, #documentation section, #documentation .section, #knowledge-base section, @@ -332,7 +333,8 @@ div.panel, background: rgb(230, 230, 230); } -div.panel h2, +#the-virtualization-api section h2, +#the-virtualization-api .section h1, #documentation section h2, #documentation .section h1, #knowledge-base section h2, @@ -347,7 +349,7 @@ div.panel h2, font-size: 1.6em; } -#index.document h1 { +#the-virtualization-api > h1 { border: 0px; text-indent: 100%; white-space: nowrap; overflow: hidden; background: url(../logos/logo-banner-dark-800.png) no-repeat center ce= nter; @@ -412,21 +414,21 @@ br.clear { font-size: smaller; } -div.panel dd, +#the-virtualization-api dd, #documentation dd, #knowledge-base dd { font-size: smaller; } -div.panel a, +#the-virtualization-api a, #documentation a, #knowledge-base a { text-decoration: none; } -div.panel ul, -div.panel p, -div.panel dl, +#the-virtualization-api ul, +#the-virtualization-api p, +#the-virtualization-api dl, #documentation ul, #documentation p, #documentation dl, @@ -437,19 +439,26 @@ div.panel dl, margin: 0px; } -div.panel ul, +#the-virtualization-api li p +{ + padding-left: 0.5em; + padding-top: 0px; + padding-bottom: 0px; +} + +#the-virtualization-api ul, #documentation ul, #knowledge-base ul { margin-left: 1em; } -div.panel dt, +#the-virtualization-api dt, #documentation dt, #knowledge-base dt { margin: 0px; } -div.panel dd, +#the-virtualization-api dd, #documentation dd, #knowledge-base dd { margin: 0px; diff --git a/docs/css/mobile.css b/docs/css/mobile.css index 1b0bd8b350..2e223f468e 100644 --- a/docs/css/mobile.css +++ b/docs/css/mobile.css @@ -20,7 +20,8 @@ #search form { padding: 5px; } - #index h1 { + #the-virtualization-api > h1, + #the-virtualization-api > h2 { display: none; } #jumplinks { @@ -87,11 +88,12 @@ #body { margin-top: 180px; } + #the-virtualization-api section, + #the-virtualization-api .section, #documentation section, #documentation .section, #knowledge-base section, - #knowledge-base .section, - div.panel { + #knowledge-base .section { width: 100%; margin-left: 0px; float: none; diff --git a/docs/index.html.in b/docs/index.html.in deleted file mode 100644 index 3c065badb7..0000000000 --- a/docs/index.html.in +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - -

The virtualization API

- -
-

Introduction

-

- The libvirt project: -

- -

Recent / forthcoming release changes

-
- -
-

Quick Links

- -
-
New contributors
-
Get involved in the libvirt community & student outreach p= rograms
- -
Security vulnerabilities<= /dt> -
View security notices and report vulnerabilities to the libvir= t security response team
- -
Bug reporting
-
View and report bugs in libvirt packages
- -
XML configuration
-
Description of the XML schemas for - domains, - networks, - network filtering, - storage, - storage encryption, - capabilities, - domain capabilities, - storage pool capabilities, - node devices, - secrets, - snapshots, - checkpoints, - backup jobs
-
Wiki
-
Read further community contributed content
- -
Knowledge base
-
Learn more about libvirt through knowledge base
-
-
- -
-

Blog Planet

-
-
- -

- Read more on the Virt T= ools blog planet -

-
- -
- - - diff --git a/docs/index.rst b/docs/index.rst new file mode 100644 index 0000000000..d55c4bb94d --- /dev/null +++ b/docs/index.rst @@ -0,0 +1,70 @@ +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +The virtualization API +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Introduction +------------ + +The libvirt project: + +- is a toolkit to manage `virtualization platforms `__ +- is accessible from C, Python, Perl, Go and more +- is licensed under open source licenses +- supports + `KVM `__, + `Hypervisor.framework `__, + `QEMU `__, + `Xen `__, + `Virtuozzo `__, + `VMWare ESX `__, + `LXC `__, + `BHyve `__ and + `more `__ +- targets Linux, FreeBSD, `Windows `__ and `macOS `__ +- is used by many `applications `__ + +Recent / forthcoming `release changes `__ + +Quick Links +----------- + +`New contributors `__ + Get involved in the libvirt community & student outreach programs +`Security vulnerabilities `__ + View security notices and report vulnerabilities to the libvirt security + response team +`Bug reporting `__ + View and report bugs in libvirt packages +`XML configuration `__ + Description of the XML schemas for + `domains `__, + `networks `__, + `network filtering `__, + `storage `__, + `storage encryption `__, + `capabilities `__, + `domain capabilities `__, + `storage pool capabilities `__, + `node devices `__, + `secrets `__, + `snapshots `__, + `checkpoints `__, + `backup jobs `__ +`Wiki `__ + Read further community contributed content +`Knowledge base `__ + Learn more about libvirt through knowledge base + +Blog Planet +----------- + +.. raw:: html + + +
+ +Read more on the `Virt Tools blog planet `= __ diff --git a/docs/meson.build b/docs/meson.build index 8edb93333a..2f0ecb2272 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -17,10 +17,6 @@ docs_assets =3D [ 'mstile-150x150.png', ] -docs_html_in_files =3D [ - 'index', -] - docs_rst_files =3D [ 'aclpolkit', 'advanced-tests', @@ -84,6 +80,7 @@ docs_rst_files =3D [ 'governance', 'hacking', 'hooks', + 'index', 'issue-handling', 'libvirt-go', 'libvirt-go-xml', @@ -230,13 +227,6 @@ html_xslt_gen =3D [] # source - source filename relative to repository root (optional, if there= is no source) # depends - explicit dependency on other input (optional) -foreach name : docs_html_in_files - html_xslt_gen +=3D { - 'name': name, - 'source': 'docs' / name + '.html.in', - } -endforeach - foreach name : docs_rst_files rst_file =3D '@0@.rst'.format(name) html_xslt_gen +=3D { --=20 2.40.1