From 6e5b44dda3e6c0bed57182f8f1ffdfb096c5d445 Mon Sep 17 00:00:00 2001 From: vinmic Date: Tue, 26 Jul 2016 12:39:20 +0200 Subject: [PATCH] Add python3 as default highlighting language This fixes the syntax highlighting on readthedocs. See issue #591 of aiohttp for more information: https://github.com/KeepSafe/aiohttp/issues/591 --- conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.py b/conf.py index bcd2d9c..1c98299 100644 --- a/conf.py +++ b/conf.py @@ -104,6 +104,9 @@ # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# The default language to highlight source code in. +highlight_language = 'python3' + # A list of ignored prefixes for module index sorting. # modindex_common_prefix = []