From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <quentin.schulz@cherry.de>, <docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [PATCH 5/8] Makefile: use splithtml tag for html target
Date: Mon, 23 Nov 2026 09:48:47 +0100 [thread overview]
Message-ID: <DN2GLDYPBI31.22TZAA7IOMK9L@bootlin.com> (raw)
In-Reply-To: <5704ab71-2ea0-4557-af95-f4a59129178d@cherry.de>
On Fri Nov 20, 2026 at 6:39 PM CET, Quentin Schulz via docs wrote:
> Hi Antonin,
>
> On 10/28/26 9:04 AM, Antonin Godard via lists.yoctoproject.org wrote:
>> Sphinx has the ability to include content based on tags in the
>> documentation with the '.. only::' directive. As '.. only:: html' is
>> common to _all_ HTML-based documents (html, singlehtml, epub), there was
>> no way to differentiate the split HTML build from the others.
>>
>> For that reason, add the splithtml tag when building it. The goal is be
>> able to to include content _only_ for this build type.
>>
>
> question: what's splithtml?
>
> Just reading it, I have no clue what it means? EDIT: ok, after reading
> it twice, I understand you meant split as opposed to singlehtml.
>
> builders actually already set a tag, c.f.
> https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-only
> so you could simply use
>
> .. only:: builder_html
>
> The benefit is no new Makefile rule :)
>
> What do you think?
Oh great, I didn't see this and this should make things simpler, thanks :)
Antonin
next prev parent reply other threads:[~2026-11-23 8:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 8:04 [PATCH 0/8] Add support for documentation tags Antonin Godard
2026-10-28 8:04 ` [PATCH 1/8] Pipfile: update dependencies for sphinx-tags Antonin Godard
2026-10-28 8:04 ` [PATCH 2/8] tools/host_packages_scripts/pip3_docs.sh: update " Antonin Godard
2026-11-20 17:26 ` [docs] " Quentin Schulz
2026-11-23 8:48 ` Antonin Godard
2026-10-28 8:04 ` [PATCH 3/8] conf.py: enable the sphinx-tags extension Antonin Godard
2026-11-20 17:31 ` [docs] " Quentin Schulz
2026-11-23 8:48 ` Antonin Godard
2026-11-23 9:23 ` Antonin Godard
2026-11-23 10:07 ` Quentin Schulz
2026-10-28 8:04 ` [PATCH 4/8] sphinx-static/theme_overrides.css: customize tags appearance Antonin Godard
2026-10-28 8:04 ` [PATCH 5/8] Makefile: use splithtml tag for html target Antonin Godard
2026-11-20 17:39 ` [docs] " Quentin Schulz
2026-11-23 8:48 ` Antonin Godard [this message]
2026-10-28 8:04 ` [PATCH 6/8] docs-wide: tag sections Antonin Godard
2026-10-28 8:04 ` [PATCH 7/8] index.rst: link to the tags overview page for splithtml Antonin Godard
2026-10-28 8:05 ` [PATCH 8/8] standards.md: add note about document tags Antonin Godard
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=DN2GLDYPBI31.22TZAA7IOMK9L@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=quentin.schulz@cherry.de \
--cc=thomas.petazzoni@bootlin.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.