Commit 0e2a1f23 authored by Alan O'Cais's avatar Alan O'Cais

Place everything sphinx related in the same spot

parent 01715135
......@@ -16,9 +16,6 @@
import sys
import os
sys.path.insert(0, os.path.abspath('../'))
import sphinx_bootstrap_theme
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
......@@ -122,6 +119,9 @@ todo_include_todos = True
# a list of builtin themes.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
sys.path.insert(0, os.path.abspath('../'))
import sphinx_bootstrap_theme
html_theme = 'bootstrap'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment