mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 15:32:13 +02:00
When unspecified in conf.py via the highlight_language variable (and highlight variable for code-blocks), the lexer used for literal blocks is "default" which tries to highlight the block as Python code. These blocks aren't Python but simple command lines prefixed by a prompt so let's use the "console" lexer to properly highlight. (From yocto-docs rev: cb27e3264bcfdeec20d590dfff5cba99051d825e) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit c6039ce11d638a0b64844480e51d126fcda304b4) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>