forked from zaclys/searxng
[docs] highlight source code linked from *automodule* content
sphinx.ext.viewcode won't highlight when 'highlight_language' [1] is set to string 'none' [2] [1] https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html [2] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-highlight_language Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
ebbd5f7366
commit
15de8708b7
|
@ -13,7 +13,14 @@ project = u'searx'
|
||||||
copyright = u'2015-2020, Adam Tauber, Noémi Ványi'
|
copyright = u'2015-2020, Adam Tauber, Noémi Ványi'
|
||||||
author = u'Adam Tauber'
|
author = u'Adam Tauber'
|
||||||
release, version = VERSION_STRING, VERSION_STRING
|
release, version = VERSION_STRING, VERSION_STRING
|
||||||
highlight_language = 'none'
|
|
||||||
|
# hint: sphinx.ext.viewcode won't highlight when 'highlight_language' [1] is set
|
||||||
|
# to string 'none' [2]
|
||||||
|
#
|
||||||
|
# [1] https://www.sphinx-doc.org/en/master/usage/extensions/viewcode.html
|
||||||
|
# [2] https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-highlight_language
|
||||||
|
|
||||||
|
highlight_language = 'default'
|
||||||
|
|
||||||
# General --------------------------------------------------------------
|
# General --------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue