zephyr/doc/scripts
Ulf Magnusson 972386d7a3 genrest: Highlight Kconfig as Kconfig, not Python
Sphinx defaults to Python highlighting, but a Kconfig lexer is available
as well
(http://pygments.org/docs/lexers/#pygments.lexers.configs.KconfigLexer).
Use it.

This only highlights Kconfig definitions without links (references to
other symbols), as Sphinx doesn't highlight '.. parsed-literal::' blocks
with links. It's an improvement over Python stuff getting highlighted at
least.

Side note: '.. highlight:: none' still gives '.. parsed-literal::'
blocks without links a different background color, for whatever reason.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-06-01 09:07:05 -04:00
..
extract_content.py doc: Fix encoding problem 2017-02-09 23:37:44 +00:00
filter-doc-log.sh filter-doc-log.sh: Fix error for empty log file 2018-03-29 08:26:47 -04:00
genrest.py genrest: Highlight Kconfig as Kconfig, not Python 2018-06-01 09:07:05 -04:00