Yocto Project Documentation
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH v3 0/4] sphinx: add lexers for wic kickstart files and pydevshell sessions
Date: Fri, 27 Nov 2026 07:05:24 -0500	[thread overview]
Message-ID: <20261127120528.837051-1-twoerner@gmail.com> (raw)

Lexers for wic kickstart (.wks) files and for sessions in BitBake's
Python development shell, which the manuals show and Pygments does not
cover, and the changes that tag the manuals' examples to use them.

changes in v3:
- tag the existing kickstart and pydevshell examples with the new lexers
- make the pydevshell lexer recognise the "... " continuation prompt

changes in v2:
- keep only these two lexers
- rebase on master

Trevor Woerner (4):
  sphinx: add a lexer for wic kickstart files
  docs: use the wks lexer for the kickstart examples
  sphinx: add a lexer for pydevshell sessions
  dev-manual: use the pydevshell lexer for the session example

 documentation/conf.py                         |  4 +-
 .../dev-manual/python-development-shell.rst   |  4 +-
 documentation/dev-manual/wic.rst              |  6 +-
 documentation/ref-manual/kickstart.rst        | 16 +++--
 documentation/ref-manual/variables.rst        |  8 ++-
 documentation/sphinx/pydevshell-lexer.py      | 51 ++++++++++++++++
 documentation/sphinx/wks-lexer.py             | 60 +++++++++++++++++++
 7 files changed, 136 insertions(+), 13 deletions(-)
 create mode 100644 documentation/sphinx/pydevshell-lexer.py
 create mode 100644 documentation/sphinx/wks-lexer.py

-- 
2.50.0.173.g8b6f19ccfc3a


             reply	other threads:[~2026-11-27 12:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 12:05 Trevor Woerner [this message]
2026-11-27 12:05 ` [PATCH v3 1/4] sphinx: add a lexer for wic kickstart files Trevor Woerner
2026-11-27 12:05 ` [PATCH v3 2/4] docs: use the wks lexer for the kickstart examples Trevor Woerner
2026-11-27 12:05 ` [PATCH v3 3/4] sphinx: add a lexer for pydevshell sessions Trevor Woerner
2026-11-27 12:05 ` [PATCH v3 4/4] dev-manual: use the pydevshell lexer for the session example 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=20261127120528.837051-1-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=docs@lists.yoctoproject.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