Skip to content

Commit acc1511

Browse files
author
Gauvain Pocentek
committed
try to fix the RTD build
1 parent d069381 commit acc1511

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
import sphinx
2222

23+
sys.path.append('../')
2324
import gitlab
2425

2526
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
@@ -116,7 +117,7 @@
116117
# a list of builtin themes.
117118
html_theme = 'default'
118119
if not on_rtd: # only import and set the theme if we're building docs locally
119-
try:
120+
try:
120121
import sphinx_rtd_theme
121122
html_theme = 'sphinx_rtd_theme'
122123
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

0 commit comments

Comments
 (0)