mbox series

[v3,0/4] sphinx: add lexers for wic kickstart files and pydevshell sessions

Message ID 20261127120528.837051-1-twoerner@gmail.com
Headers show
Series sphinx: add lexers for wic kickstart files and pydevshell sessions | expand

Message

Trevor Woerner Nov. 27, 2026, 12:05 p.m. UTC
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