diff --git a/doc/source/conf.py b/doc/source/conf.py index 5659ddb7..5f6e78a7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -15,6 +15,10 @@ import sys import os +# BLISS_CONFIG is set to fake location so that the build on ReadTheDocs complete. +if os.environ.get('BLISS_CONFIG', None) is None: + os.environ['BLISS_CONFIG'] = "config.yml" + # 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. diff --git a/readthedocs.yml b/readthedocs.yml new file mode 100644 index 00000000..fe2bf7ea --- /dev/null +++ b/readthedocs.yml @@ -0,0 +1,7 @@ +formats: + - none +python: + pip_install: true + extra_requirements: + - docs + - tests \ No newline at end of file diff --git a/setup.py b/setup.py index 45a740a8..6c9fa05f 100644 --- a/setup.py +++ b/setup.py @@ -85,12 +85,9 @@ def run(self): include_package_data = True, install_requires = ['bliss-core>=0.35.0'], - dependency_links = [ - 'https://bliss.jpl.nasa.gov/pypi/simple/bliss-core/' - ], extras_require = { 'docs': [ - 'Sphinx', + 'Sphinx==1.7.2', 'sphinx_rtd_theme', 'sphinxcontrib-httpdomain' ]