diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-06-01 15:09:24 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2021-06-01 16:37:20 +0200 |
commit | 15de8708b706d5fe7e77febffd580449d827b938 (patch) | |
tree | 331492af5f7b8435037d984c102de07727abd56a /docs/conf.py | |
parent | ebbd5f73666c1e6c73f0e4f0a575461ccb3a7a42 (diff) | |
download | searxng-15de8708b706d5fe7e77febffd580449d827b938.tar.gz searxng-15de8708b706d5fe7e77febffd580449d827b938.zip |
[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>
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 998b07ff1..11e980909 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,14 @@ project = u'searx' copyright = u'2015-2020, Adam Tauber, Noémi Ványi' author = u'Adam Tauber' 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 -------------------------------------------------------------- |