]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: use python as default domain
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 15 Apr 2020 08:14:51 +0000 (10:14 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 15 Apr 2020 08:28:51 +0000 (10:28 +0200)
Our lua functions don't conform to C function declarations, which
generates warnings when using Sphinx 3.0.0+.

doc/conf.py

index 3e49df5c829f46f68f12d27a1aaefc25a1c383f4..fcc1c99c70797ee54d460d0e9faac08650faac23 100644 (file)
@@ -41,7 +41,7 @@ exclude_patterns = ['_build']
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 highlight_language = 'c'
-primary_domain = 'c'
+primary_domain = 'py'
 
 # -- Options for HTML output ---------------------------------------------------