@@ -116,7 +116,7 @@ yet, so sometimes the source code is all you have.
* `monitor <https://gitlab.com/qemu-project/qemu/-/tree/master/monitor>`_:
`Monitor <QEMU monitor>` implementation (HMP & QMP).
* `nbd <https://gitlab.com/qemu-project/qemu/-/tree/master/nbd>`_:
- QEMU `NBD (Network Block Device) <nbd>` server.
+ QEMU `NBD (Network Block Device) <system/images-nbd>` server.
* `net <https://gitlab.com/qemu-project/qemu/-/tree/master/net>`_:
Network (host) support.
* `pc-bios <https://gitlab.com/qemu-project/qemu/-/tree/master/pc-bios>`_:
@@ -500,7 +500,7 @@ What you should *never* do:
- expect it to work when loadvm'ing
- write to the FAT directory on the host system while accessing it with the guest system
-.. _nbd:
+.. uniquelabel:: nbd
NBD access
~~~~~~~~~~
Use the uniquelabel directive for the 'nbd' label in qemu-block-drivers.rst.inc. This avoids a complaint from some Sphinx versions about it being a duplicate label, and means that we can reliably ensure that the link in codebase.rst goes to the document file that we intend (i.e. the section of the HTML manual on disk images, not the HTML copy of the qemu-block-drivers manpage). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> --- docs/devel/codebase.rst | 2 +- docs/system/qemu-block-drivers.rst.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)