瀏覽代碼

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>
Jonathan Corbet 9 年之前
父節點
當前提交
a7a0729c45
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/conf.py

+ 1 - 1
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 ----------------------------------------------