]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
doc: fix generating sphinx doc using older packages
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 23 Jan 2018 14:57:51 +0000 (15:57 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 23 Jan 2018 18:24:03 +0000 (19:24 +0100)
doc/conf.py

index 211b0028d57a6dbedda39c4c48a3eb56d25cf901..7a361eb6f1cb099963f4f8f9077d77d5064d9482 100644 (file)
@@ -2,6 +2,8 @@
 
 import sys, os, re, subprocess
 
+import sphinx_rtd_theme
+
 # -- General configuration -----------------------------------------------------
 
 if os.environ.get('READTHEDOCS', None) == 'True':
@@ -47,6 +49,7 @@ htmlhelp_basename = 'apidoc'
 
 # Theme
 html_theme = 'sphinx_rtd_theme'
+html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
 
 # -- Options for LaTeX output --------------------------------------------------