Yocto Project Documentation
 help / color / mirror / Atom feed
* [PATCH v3 0/4] sphinx: add lexers for wic kickstart files and pydevshell sessions
@ 2026-11-27 12:05 Trevor Woerner
  2026-11-27 12:05 ` [PATCH v3 1/4] sphinx: add a lexer for wic kickstart files Trevor Woerner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Trevor Woerner @ 2026-11-27 12:05 UTC (permalink / raw)
  To: docs

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-27 12:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 12:05 [PATCH v3 0/4] sphinx: add lexers for wic kickstart files and pydevshell sessions Trevor Woerner
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox