From: Peter Krempa Date: Wed, 2 Apr 2025 14:23:15 +0000 (+0200) Subject: docs: Render API and XML sections one per line in HTML X-Git-Tag: v11.3.0-rc1~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7f07cf5a72434271b78d6b25a8132f0436e28f52;p=thirdparty%2Flibvirt.git docs: Render API and XML sections one per line in HTML 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 Reviewed-by: Ján Tomko --- diff --git a/docs/css/libvirt.css b/docs/css/libvirt.css index 58ac1d385b..c80b1a54f6 100644 --- a/docs/css/libvirt.css +++ b/docs/css/libvirt.css @@ -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; } diff --git a/docs/docs.rst b/docs/docs.rst index 1f16a11e90..09939c1201 100644 --- a/docs/docs.rst +++ b/docs/docs.rst @@ -60,41 +60,46 @@ Application development ----------------------- `API reference `__ - Reference manual for the C public API, split in - `common `__, - `domain `__, - `domain checkpoint `__, - `domain snapshot `__, - `error `__, - `event `__, - `host `__, - `interface `__, - `network `__, - `node device `__, - `network filter `__, - `secret `__, - `storage `__, - `stream `__ and - `admin `__, - `QEMU `__, - `LXC `__ libs + Reference manual for the C public API, split in: + + * `common `__ + * `domain `__ + * `domain checkpoint `__ + * `domain snapshot `__ + * `error `__ + * `event `__ + * `host `__ + * `interface `__ + * `network `__ + * `node device `__ + * `network filter `__ + * `secret `__ + * `storage `__ + * `stream `__ + + and the documentation for the API of the additional libs: + + * `admin `__ + * `QEMU `__ + * `LXC `__ `XML schemas `__ Description of the XML schemas for - `domains `__, - `networks `__, - `network ports `__, - `network filtering `__, - `storage `__, - `storage encryption `__, - `capabilities `__, - `domain capabilities `__, - `storage pool capabilities `__, - `node devices `__, - `secrets `__, - `snapshots `__, - `checkpoints `__, - `backup jobs `__ + + * `domains `__ + * `networks `__ + * `network ports `__ + * `network filtering `__ + * `storage `__ + * `storage encryption `__ + * `capabilities `__ + * `domain capabilities `__ + * `storage pool capabilities `__ + * `node devices `__ + * `secrets `__ + * `snapshots `__ + * `checkpoints `__ + * `backup jobs `__ `Language bindings and API modules `__ Bindings of the libvirt API for