]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: drvnodedev: Fix local anchor links
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Apr 2022 13:27:49 +0000 (15:27 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 19 Apr 2022 14:19:48 +0000 (16:19 +0200)
Original conversion didn't properly convert local links. Fix them by
pointing to the section name. In certain cases this requires
reformulation of the text.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/drvnodedev.rst

index cddb36c73b4d08f478ca52fb0365e7068514943b..d333a9dca6584f109b53e7452379952b40d7617f 100644 (file)
@@ -59,8 +59,7 @@ PCI host devices
 
 ``capability``
    When used as top level element, the supported values for the ``type``
-   attribute are ``pci`` and ``phys_function`` (see `SR-IOV
-   below <#SRIOVCap>`__).
+   attribute are ``pci`` and ``phys_function`` (see `SR-IOV capability`_ below).
 
 ::
 
@@ -103,9 +102,10 @@ multiple devices called virtual functions (VFs) sharing their configuration with
 the underlying PF. Despite the SR-IOV specification, the amount of VFs that can
 be created on a PF varies among manufacturers.
 
-Suppose the NIC `above <#PCI>`__ was also SR-IOV capable, it would also include
-a nested ``<capability>`` element enumerating all virtual functions available on
-the physical device (physical port) like in the example below.
+Suppose the NIC above in `PCI host devices`_ was also SR-IOV capable, it would
+also include a nested ``<capability>`` element enumerating all virtual
+functions available on the physical device (physical port) like in the example
+below.
 
 ::
 
@@ -146,8 +146,8 @@ of the XML format for the ``mdev_types`` capability can be found
 `here <formatnode.html#MDEVTypesCap>`__.
 
 The following example shows how we might represent an NVIDIA GPU device that
-supports mediated devices. See below for `more information about mediated
-devices <#MDEV>`__.
+supports mediated devices. See below for more info on
+`Mediated devices (MDEVs)`_.
 
 ::
 
@@ -281,7 +281,7 @@ covers the following features:
 
 Because mediated devices are instantiated from vendor specific templates, simply
 called 'types', information describing these types is contained within the
-parent device's capabilities (see the example in `PCI host devices <#PCI>`__).
+parent device's capabilities (see the example in `PCI host devices`_).
 To list all devices capable of creating mediated devices, the following command
 can be used.