Skip to content

Commit 3150ee8

Browse files
committed
BLD: fix compilation issues in sphinx-2.0
Specify explicit path to the html theme.
1 parent dc5dc98 commit 3150ee8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/manual/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import os
2121
import sys
2222
import time
23+
import importlib
2324

2425
sys.path.insert(0, os.path.abspath('../../..'))
2526

@@ -126,6 +127,8 @@
126127
# a list of builtin themes.
127128
#
128129
html_theme = 'sphinx_py3doc_enhanced_theme'
130+
tmod = importlib.import_module(html_theme)
131+
html_theme_path = [tmod.get_html_theme_path()]
129132

130133
# Theme options are theme-specific and customize the look and feel of a theme
131134
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)