]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Render API and XML sections one per line in HTML
authorPeter Krempa <pkrempa@redhat.com>
Wed, 2 Apr 2025 14:23:15 +0000 (16:23 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 7 Apr 2025 13:26:32 +0000 (15:26 +0200)
Finding the correct link to a XML description or API reference section
in a big blob of links concatenated in a paragraph is unpleasand and
especially for 'capabilities' and 'domain capabilities' following each
other.

Turn the API and XML reference sections into a list in RST and add CSS
to fromat it a bit more compact.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/css/libvirt.css
docs/docs.rst

index 58ac1d385b4e5ae36fa7d13ea361c33d0e10dc24..c80b1a54f6a917e8e011e99869ab2875fbd469b3 100644 (file)
@@ -123,6 +123,17 @@ img.diagram {
     margin-bottom: 1em;
 }
 
+#documentation #application-development ul li p {
+    padding-bottom: 0px;
+    padding-top: 0px;
+}
+
+#documentation #application-development ul {
+    margin-left: 2em;
+    padding-top: 0px;
+    padding-bottom: 0px;
+}
+
 .removedhv {
     color: darkred;
 }
index 1f16a11e9044284427d89a0ab658ac1fc57ef681..09939c12011acf83a1cdba6494f8ff088df1d738 100644 (file)
@@ -60,41 +60,46 @@ Application development
 -----------------------
 
 `API reference <html/index.html>`__
-   Reference manual for the C public API, split in
-   `common <html/libvirt-libvirt-common.html>`__,
-   `domain <html/libvirt-libvirt-domain.html>`__,
-   `domain checkpoint <html/libvirt-libvirt-domain-checkpoint.html>`__,
-   `domain snapshot <html/libvirt-libvirt-domain-snapshot.html>`__,
-   `error <html/libvirt-virterror.html>`__,
-   `event <html/libvirt-libvirt-event.html>`__,
-   `host <html/libvirt-libvirt-host.html>`__,
-   `interface <html/libvirt-libvirt-interface.html>`__,
-   `network <html/libvirt-libvirt-network.html>`__,
-   `node device <html/libvirt-libvirt-nodedev.html>`__,
-   `network filter <html/libvirt-libvirt-nwfilter.html>`__,
-   `secret <html/libvirt-libvirt-secret.html>`__,
-   `storage <html/libvirt-libvirt-storage.html>`__,
-   `stream <html/libvirt-libvirt-stream.html>`__ and
-   `admin <html/libvirt-libvirt-admin.html>`__,
-   `QEMU <html/libvirt-libvirt-qemu.html>`__,
-   `LXC <html/libvirt-libvirt-lxc.html>`__ libs
+   Reference manual for the C public API, split in:
+
+   * `common <html/libvirt-libvirt-common.html>`__
+   * `domain <html/libvirt-libvirt-domain.html>`__
+   * `domain checkpoint <html/libvirt-libvirt-domain-checkpoint.html>`__
+   * `domain snapshot <html/libvirt-libvirt-domain-snapshot.html>`__
+   * `error <html/libvirt-virterror.html>`__
+   * `event <html/libvirt-libvirt-event.html>`__
+   * `host <html/libvirt-libvirt-host.html>`__
+   * `interface <html/libvirt-libvirt-interface.html>`__
+   * `network <html/libvirt-libvirt-network.html>`__
+   * `node device <html/libvirt-libvirt-nodedev.html>`__
+   * `network filter <html/libvirt-libvirt-nwfilter.html>`__
+   * `secret <html/libvirt-libvirt-secret.html>`__
+   * `storage <html/libvirt-libvirt-storage.html>`__
+   * `stream <html/libvirt-libvirt-stream.html>`__
+
+   and the documentation for the API of the additional libs:
+
+   * `admin <html/libvirt-libvirt-admin.html>`__
+   * `QEMU <html/libvirt-libvirt-qemu.html>`__
+   * `LXC <html/libvirt-libvirt-lxc.html>`__
 
 `XML schemas <format.html>`__
    Description of the XML schemas for
-   `domains <formatdomain.html>`__,
-   `networks <formatnetwork.html>`__,
-   `network ports <formatnetworkport.html>`__,
-   `network filtering <formatnwfilter.html>`__,
-   `storage <formatstorage.html>`__,
-   `storage encryption <formatstorageencryption.html>`__,
-   `capabilities <formatcaps.html>`__,
-   `domain capabilities <formatdomaincaps.html>`__,
-   `storage pool capabilities <formatstoragecaps.html>`__,
-   `node devices <formatnode.html>`__,
-   `secrets <formatsecret.html>`__,
-   `snapshots <formatsnapshot.html>`__,
-   `checkpoints <formatcheckpoint.html>`__,
-   `backup jobs <formatbackup.html>`__
+
+   * `domains <formatdomain.html>`__
+   * `networks <formatnetwork.html>`__
+   * `network ports <formatnetworkport.html>`__
+   * `network filtering <formatnwfilter.html>`__
+   * `storage <formatstorage.html>`__
+   * `storage encryption <formatstorageencryption.html>`__
+   * `capabilities <formatcaps.html>`__
+   * `domain capabilities <formatdomaincaps.html>`__
+   * `storage pool capabilities <formatstoragecaps.html>`__
+   * `node devices <formatnode.html>`__
+   * `secrets <formatsecret.html>`__
+   * `snapshots <formatsnapshot.html>`__
+   * `checkpoints <formatcheckpoint.html>`__
+   * `backup jobs <formatbackup.html>`__
 
 `Language bindings and API modules <bindings.html>`__
    Bindings of the libvirt API for