From: Paolo Bonzini <pbonzini@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>, qemu-devel@nongnu.org
Cc: "John Snow" <jsnow@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH 0/2] docs: Avoid duplicate labels with a sphinx extn
Date: Mon, 9 Jun 2025 18:38:31 +0200 [thread overview]
Message-ID: <04c3ef19-deef-44a9-b056-3b295246ad5a@redhat.com> (raw)
In-Reply-To: <CAFEAcA98gbjUX08NccePxGB2k0S+fjFArgz4WjFc5CZdDQ0ezg@mail.gmail.com>
On 6/9/25 18:18, Peter Maydell wrote:
> Ping^2 on this one?
No objections if it's the easiest way to solve the issue.
Alternatively, is there a Sphinx way to write something in the spirit of
#ifdef DEFINE_THE_LABEL
.. _label
#endif
This way, you could have the nbd label enabled when including into
system/images, but not when including into system/qemu-block-drivers.
Paolo
next prev parent reply other threads:[~2025-06-09 16:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-29 16:32 [PATCH 0/2] docs: Avoid duplicate labels with a sphinx extn Peter Maydell
2025-04-29 16:32 ` [PATCH 1/2] docs: Create a uniquelabel Sphinx extension Peter Maydell
2025-04-29 16:32 ` [PATCH 2/2] docs: Use uniquelabel in qemu-block-drivers.rst.inc Peter Maydell
2025-05-19 14:32 ` [PATCH 0/2] docs: Avoid duplicate labels with a sphinx extn Peter Maydell
2025-06-09 16:18 ` Peter Maydell
2025-06-09 16:38 ` Paolo Bonzini [this message]
2025-06-09 16:52 ` Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=04c3ef19-deef-44a9-b056-3b295246ad5a@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=jsnow@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).