diff --git a/.travis.yml b/.travis.yml index 364d17c6..fa607dea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ install: - pip install --upgrade pytest - pip install codecov pytest-cov pytest-pep8 - pip install --upgrade numpy cython - - if [[ $TRAVIS_PYTHON_VERSION == "3.6" ]]; then pip install --upgrade sphinx; fi + - if [[ $TRAVIS_PYTHON_VERSION == "3.6" ]]; then pip install --upgrade sphinx sphinx-sitemap; fi - pip install -e . script: diff --git a/docs/conf.py b/docs/conf.py index 5b4ff7aa..f9b3cc1e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,7 +30,10 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon'] +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon', 'sphinx_sitemap'] + +# for sitemap with https://github.com/jdillard/sphinx-sitemap +site_url = "https://www.mdanalysis.org/pytng/" # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']