All of lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: Antonin Godard <antonin.godard@bootlin.com>, docs@lists.yoctoproject.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [PATCH 3/8] conf.py: enable the sphinx-tags extension
Date: Mon, 23 Nov 2026 11:07:59 +0100	[thread overview]
Message-ID: <55d970d6-da6a-48d7-b3e3-eda5bbda37be@cherry.de> (raw)
In-Reply-To: <DN2HBVV40XL7.1X0R6JHGXNE1V@bootlin.com>

Hi Antonin,

On 11/23/26 10:23 AM, Antonin Godard wrote:
> Hi,
> 
> On Mon Nov 23, 2026 at 9:48 AM CET, Antonin Godard wrote:
>> Hi,
>>
>> On Fri Nov 20, 2026 at 6:31 PM CET, Quentin Schulz via docs wrote:
>> [...]
>>> suggestion: set tags_output_dir to $(BUILDDIR) (maybe /_tags also?)
>>>
>>> This should allow us to avoid having to update our Makefile and
>>> .gitignore? It's also where we put build artifacts so it makes much more
>>> sense IMO.
>>
>> Makes sense, I'll try moving the directory there
> 
> Hm, we can't do that because the _tags/ directory contains rST files (generated
> by the extension), and we need Sphinx to be able to locate them. However, we have:
> 
> exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'boilerplate.rst']
> 
> so Sphinx could ever match these files if they were in _build/. And
> exclude_patterns can only contain glob-style pattern, and takes priority over
> include_patterns.
> 

Ah yes, I've been hit by this in my boards' user manual as well in a 
different context (autogenerated images need to be in the source tree so 
they can be picked up by sphinx). Thanks for giving it a try!

Cheers,
Quentin

  reply	other threads:[~2026-11-23 10:08 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 [this message]
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
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=55d970d6-da6a-48d7-b3e3-eda5bbda37be@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --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.