Browse Source

Documentation/sphinx: fix primary_domain configuration

With Sphinx 1.5.3 I get the warning:

	WARNING: primary_domain 'C' not found, ignored.

It seems that domain names in Sphinx are case-sensitive and for the C
domain the name must be lower case.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
John Keeping 8 năm trước cách đây
mục cha
commit
fd5d666932
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Documentation/conf.py

+ 1 - 1
Documentation/conf.py

@@ -135,7 +135,7 @@ pygments_style = 'sphinx'
 # If true, `todo` and `todoList` produce output, else they produce nothing.
 todo_include_todos = False
 
-primary_domain = 'C'
+primary_domain = 'c'
 highlight_language = 'none'
 
 # -- Options for HTML output ----------------------------------------------