From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <twoerner@gmail.com>, <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH 0/7] sphinx: carry lexers for the languages the manuals show
Date: Thu, 26 Nov 2026 17:33:44 +0100 [thread overview]
Message-ID: <DN5AD0E8NBFJ.2E0I9RWKIMG2J@bootlin.com> (raw)
In-Reply-To: <20261125154535.3486104-1-twoerner@gmail.com>
Hi Trevor,
On Wed Nov 25, 2026 at 4:45 PM CET, Trevor Woerner via docs wrote:
> This is the series proposed in [1]: the BitBake lexer first, then the
> other lexers, one patch each. The BitBake lexer is patch 1 and can be
> applied on its own.
For most of the series, the code is unfortunately unreviewable and I don't
think we want to maintain that in the future. While I think there is some
justification in adding lexers (better readability), I also think we could aim
for an in-between:
Pygments already has an upstream BitBake lexer (thanks to you). It can cover
most of our existing snippets. For the ones that are failing, we can skip them
(with a 'text' code-block) until the upstream lexer is fixed. Having our own
BitBake lexer will not encourage upstream fixes - it will hide those upstream
errors and will rarely lead to an upstream fix.
Patch 4 and 5, however, look like simple lexers, I am fine with keeping them.
For the remaining lexers, I think we can accept that they won't be highlighted
(or highlight them with a similar lexer, if that is possible).
> The series is based on master-next with two of your pending series
> applied, since both also edit the extension list in conf.py:
>
> - Add support for documentation tags [3]
> - Add a "Library Functions" section to the ref-manual [4]
Can you rebase on master? These two series won't be merged before M1 anyway as
they require some updates on the Autobuilder.
Thanks,
Antonin
next prev parent reply other threads:[~2026-11-26 16:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 15:45 [PATCH 0/7] sphinx: carry lexers for the languages the manuals show Trevor Woerner
2026-11-25 15:45 ` [PATCH 1/7] sphinx: carry a BitBake lexer as a local extension Trevor Woerner
2026-11-25 15:45 ` [PATCH 2/7] sphinx: add a lexer for BitBake with placeholders Trevor Woerner
2026-11-25 15:45 ` [PATCH 3/7] sphinx: add a lexer for kernel metadata SCC files Trevor Woerner
2026-11-25 15:45 ` [PATCH 4/7] sphinx: add a lexer for wic kickstart files Trevor Woerner
2026-11-25 15:45 ` [PATCH 5/7] sphinx: add a lexer for pydevshell sessions Trevor Woerner
2026-11-25 15:45 ` [PATCH 6/7] sphinx: read a bare "#" in a console block as output Trevor Woerner
2026-11-25 15:45 ` [PATCH 7/7] sphinx: mark placeholders in console and plain-text examples Trevor Woerner
2026-11-26 16:33 ` Antonin Godard [this message]
2026-11-26 22:26 ` [docs] [PATCH 0/7] sphinx: carry lexers for the languages the manuals show Trevor Woerner
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=DN5AD0E8NBFJ.2E0I9RWKIMG2J@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=twoerner@gmail.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.