diff options
author | Iacchus Mercurius <kassivs@gmail.com> | 2017-05-07 00:29:38 -0300 |
---|---|---|
committer | Iacchus Mercurius <kassivs@gmail.com> | 2017-05-07 00:34:14 -0300 |
commit | 527f5777ba563a3186611eed5f99708bd5d8fe77 (patch) | |
tree | b78b1532ec05060f32c77e0cee57864f8f0cd114 /sphinx/ext/viewcode.py | |
parent | 3b69c51897fcaea5db573e7c25ce56c03ebac5a7 (diff) | |
download | sphinx-git-527f5777ba563a3186611eed5f99708bd5d8fe77.tar.gz |
please see #3700
Diffstat (limited to 'sphinx/ext/viewcode.py')
-rw-r--r-- | sphinx/ext/viewcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/viewcode.py b/sphinx/ext/viewcode.py index 6ac8c76be..25e5fe82a 100644 --- a/sphinx/ext/viewcode.py +++ b/sphinx/ext/viewcode.py @@ -156,7 +156,7 @@ def collect_pages(app): # construct a page name for the highlighted source pagename = '_modules/' + modname.replace('.', '/') # highlight the source using the builder's highlighter - if env.config.highlight_language in ('python3', 'default'): + if env.config.highlight_language in ('python3', 'default', 'none'): lexer = env.config.highlight_language else: lexer = 'python' |