doc: Set default language for syntax highlighting to "none"
Force code blocks with no 'language' explicitly set to render with no highlighting. The current default was to use python (bad), and there would also be an option to set it to "guess" but this doesn't work all so well (ex. some C blocks would be detected as Transact-SQL!). Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
677219ff1a
commit
f2b080b5d6
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ else:
|
|||
exclude_patterns.append("**/*west-not-found*")
|
||||
|
||||
pygments_style = "sphinx"
|
||||
highlight_language = "none"
|
||||
|
||||
todo_include_todos = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue