From: Trevor Woerner <twoerner@gmail.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH v3 4/4] dev-manual: use the pydevshell lexer for the session example
Date: Fri, 27 Nov 2026 07:05:28 -0500 [thread overview]
Message-ID: <20261127120528.837051-5-twoerner@gmail.com> (raw)
In-Reply-To: <20261127120528.837051-1-twoerner@gmail.com>
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 --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'
--
2.50.0.173.g8b6f19ccfc3a
prev parent 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 [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 ` Trevor Woerner [this message]
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-5-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 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.