diff mbox series

[v3,4/4] dev-manual: use the pydevshell lexer for the session example

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

Commit Message

Trevor Woerner Nov. 27, 2026, 12:05 p.m. UTC
The pydevshell session example is left to the default language. Tag it
pydevshell so the prompt and the Python typed at it are highlighted, and
the results are not.

AI-Generated: codex/claude-opus 5.5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
changes in v3:
- new: tag the session example pydevshell, as asked in review
---
 documentation/dev-manual/python-development-shell.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/documentation/dev-manual/python-development-shell.rst b/documentation/dev-manual/python-development-shell.rst
index 034100ae8799..76167f5bacf4 100644
--- a/documentation/dev-manual/python-development-shell.rst
+++ b/documentation/dev-manual/python-development-shell.rst
@@ -13,7 +13,9 @@  specified target. Then a new terminal is opened. Additionally, key
 Python objects and code are available in the same way they are to
 BitBake tasks, in particular, the data store 'd'. So, commands such as
 the following are useful when exploring the data store and running
-functions::
+functions:
+
+.. code-block:: pydevshell
 
    pydevshell> d.getVar("STAGING_DIR")
    '/media/build1/bitbake-builds/build/tmp/sysroots'