diff --git a/.circleci/config.yml b/.circleci/config.yml index d295c9c0..df947633 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,9 @@ jobs: - restore_cache: keys: - cache-pip - - run: pip install --user -e .[sphinx,rtd] + - run: | + pip install --user -e .[sphinx,rtd] + pip install -r docs/requirements.txt - save_cache: key: cache-pip paths: diff --git a/.readthedocs.yml b/.readthedocs.yml index 123a4730..070d8d90 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,3 +8,4 @@ python: extra_requirements: - sphinx - rtd + - requirements: docs/requirments.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000..e250c225 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +git+https://github.com/pandas-dev/pandas-sphinx-theme.git@master diff --git a/setup.py b/setup.py index dcb19166..6e42fd20 100644 --- a/setup.py +++ b/setup.py @@ -46,14 +46,7 @@ "pytest-regressions", "beautifulsoup4", ], - "rtd": [ - "sphinxcontrib-bibtex", - "ipython", - ( - "pandas_sphinx_theme @ " - "https://github.com/pandas-dev/pandas-sphinx-theme/archive/master.zip" - ), - ], + "rtd": ["sphinxcontrib-bibtex", "ipython"], }, zip_safe=True, )