diff options
author | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-12-18 08:42:45 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain.pocentek@objectif-libre.com> | 2015-12-18 08:42:45 +0100 |
commit | acc151190e32ddaf9198a10c5b816af2d36c0f19 (patch) | |
tree | f63b2c51138fbc0895f4bf29d513e76222cac5cc /docs/conf.py | |
parent | d069381371c7b0eb88edbf56bc13b05e4b2664fa (diff) | |
download | gitlab-acc151190e32ddaf9198a10c5b816af2d36c0f19.tar.gz |
try to fix the RTD build
Diffstat (limited to 'docs/conf.py')
-rw-r--r-- | docs/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py index 7ef98ef..dc845f9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,6 +20,7 @@ import sys import sphinx +sys.path.append('../') import gitlab on_rtd = os.environ.get('READTHEDOCS', None) == 'True' @@ -116,7 +117,7 @@ pygments_style = 'sphinx' # a list of builtin themes. html_theme = 'default' if not on_rtd: # only import and set the theme if we're building docs locally - try: + try: import sphinx_rtd_theme html_theme = 'sphinx_rtd_theme' html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |