From: Tomas Krizek Date: Tue, 23 Jan 2018 14:57:51 +0000 (+0100) Subject: doc: fix generating sphinx doc using older packages X-Git-Tag: v2.0.0~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d60c8b711bd1330eea413ca792f4ef86e5a337;p=thirdparty%2Fknot-resolver.git doc: fix generating sphinx doc using older packages --- diff --git a/doc/conf.py b/doc/conf.py index 211b0028d..7a361eb6f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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 --------------------------------------------------