]> granicus.if.org Git - python/commitdiff
Highlight snippets as Python 3.
authorGeorg Brandl <georg@python.org>
Tue, 9 Sep 2008 19:10:58 +0000 (19:10 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 9 Sep 2008 19:10:58 +0000 (19:10 +0000)
Doc/conf.py

index 0cfbea60bfa4329c1b949317ec876bb2434dc067..2be0f19c6d705d87adb521dec55817eb35cff45a 100644 (file)
@@ -63,6 +63,9 @@ add_function_parentheses = True
 # unit titles (such as .. function::).
 add_module_names = True
 
+# By default, highlight as Python 3.
+highlight_language = 'python3'
+
 
 # Options for HTML output
 # -----------------------