[PATCH 06/14] docs: drvnodedev: Fix local anchor links

Peter Krempa pkrempa at redhat.com
Wed Apr 13 16:02:07 UTC 2022


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 at redhat.com>
---
 docs/drvnodedev.rst | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/drvnodedev.rst b/docs/drvnodedev.rst
index cddb36c73b..d333a9dca6 100644
--- a/docs/drvnodedev.rst
+++ b/docs/drvnodedev.rst
@@ -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.

-- 
2.35.1



More information about the libvir-list mailing list