Skip to contentSkip to conversation

Documentation/sphinx: fix primary_domain configuration

PATCH Applied John Keeping 2 participants 2 messages Mar 3, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/conf.py +1 -1
index f6823cf01275..7fadb3b83293 100644
@@ -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 ----------------------------------------------
Signature · 1 line
2.12.0.377.gf910686b23.dirty
maintainer Applied
#1 lore raw
Quoted 6 lines · On Fri, 3 Mar 2017 12:24:05 +0000 John Keeping <[email protected]> wrote:

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.

Applied, thanks.

jon