[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 14/14] docs: Use uniquelabel in qemu-block-drivers.rst.inc
From: |
Alex Bennée |
Subject: |
[PATCH v2 14/14] docs: Use uniquelabel in qemu-block-drivers.rst.inc |
Date: |
Tue, 6 May 2025 13:57:15 +0100 |
From: Peter Maydell <peter.maydell@linaro.org>
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>
Message-Id: <20250429163212.618953-3-peter.maydell@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
docs/devel/codebase.rst | 2 +-
docs/system/qemu-block-drivers.rst.inc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/devel/codebase.rst b/docs/devel/codebase.rst
index 40273e7d31..f3f133e9ad 100644
--- a/docs/devel/codebase.rst
+++ b/docs/devel/codebase.rst
@@ -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>`_:
diff --git a/docs/system/qemu-block-drivers.rst.inc
b/docs/system/qemu-block-drivers.rst.inc
index cfe1acb78a..1a405e4782 100644
--- a/docs/system/qemu-block-drivers.rst.inc
+++ b/docs/system/qemu-block-drivers.rst.inc
@@ -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
~~~~~~~~~~
--
2.39.5
- [PATCH v2 10/14] virtio-gpu: fix hang under TCG when unmapping blob, (continued)
[PATCH v2 11/14] virtio-gpu: refactor async blob unmapping, Alex Bennée, 2025/05/06
[PATCH v2 13/14] docs: Create a uniquelabel Sphinx extension, Alex Bennée, 2025/05/06
[PATCH v2 14/14] docs: Use uniquelabel in qemu-block-drivers.rst.inc,
Alex Bennée <=