Commit be3266b9 authored by Alan O'Cais's avatar Alan O'Cais

Update the sphinx conf since GitLab can build the docs

parent b45c23a6
......@@ -83,7 +83,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', 'README.rst']
# The reST default role (used for this markup: `text`) to use for all
# documents.
......@@ -118,6 +118,9 @@ todo_include_todos = True
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# Let's default this to on since GitLab supports building the docs
on_rtd= True
if on_rtd:
sys.path.insert(0, os.path.abspath('./'))
import sphinx_bootstrap_theme
......
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