Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit 6e5b44d

Browse files
author
vinmic
committed
Add python3 as default highlighting language
This fixes the syntax highlighting on readthedocs. See issue #591 of aiohttp for more information: aio-libs/aiohttp#591
1 parent 7581e3b commit 6e5b44d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
# The name of the Pygments (syntax highlighting) style to use.
105105
pygments_style = 'sphinx'
106106

107+
# The default language to highlight source code in.
108+
highlight_language = 'python3'
109+
107110
# A list of ignored prefixes for module index sorting.
108111
# modindex_common_prefix = []
109112

0 commit comments

Comments
 (0)