docs: Set the Sphinx default highlight language to "guess"
authorJonathan Corbet <corbet@lwn.net>
Fri, 12 Aug 2016 20:11:12 +0000 (14:11 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 12 Aug 2016 20:11:12 +0000 (14:11 -0600)
This should eliminate a whole class of markup warnings, at the cost of
occasionally amusing markup choices; we'll have to see if it works out.

Suggested-by: Markus Heiser <markus.heiser@darmarIT.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py

index 96b7aa66c89ca68c5f891d6fb3f2744dd80c6ca7..106ae9c740b99307abcffee492e0eace15c4f295 100644 (file)
@@ -131,7 +131,7 @@ pygments_style = 'sphinx'
 todo_include_todos = False
 
 primary_domain = 'C'
-highlight_language = 'C'
+highlight_language = 'guess'
 
 # -- Options for HTML output ----------------------------------------------