summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2016-08-12 14:11:12 -0600
committerJonathan Corbet <corbet@lwn.net>2016-08-12 14:11:12 -0600
commita7a0729c4532c94f4e8efb4faaf6ef00e5fe19ba (patch)
tree4e3fa0d6c667a293c81d1e79a07f719fd4ce001d /Documentation/conf.py
parent29b4817d4018df78086157ea3a55c1d9424a7cfc (diff)
docs: Set the Sphinx default highlight language to "guess"
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>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 96b7aa66c89c..106ae9c740b9 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -131,7 +131,7 @@ pygments_style = 'sphinx'
todo_include_todos = False
primary_domain = 'C'
-highlight_language = 'C'
+highlight_language = 'guess'
# -- Options for HTML output ----------------------------------------------