Fixed imports for readthedocs (#3033)

This commit is contained in:
George Necula 2020-05-11 14:37:17 +03:00 committed by GitHub
parent c171c33b1c
commit 7acb41d57c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -188,10 +188,11 @@ I saw in the Readthedocs logs::
cd jax
git checkout --force origin/test-docs
git clean -d -f -f
workon jax-docs
python -m pip install --upgrade --no-cache-dir pip
python -m pip install --upgrade --no-cache-dir -I Pygments==2.3.1 setuptools==41.0.1 docutils==0.14 mock==1.0.1 pillow==5.4.1 alabaster>=0.7,<0.8,!=0.7.5 commonmark==0.8.1 recommonmark==0.5.0 'sphinx<2' 'sphinx-rtd-theme<0.5' 'readthedocs-sphinx-ext<1.1'
python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
cd docs
python `which sphinx-build` -T -E -b html -d _build/doctrees-readthedocs -D language=en . _build/html

View File

@ -4,6 +4,8 @@ jaxlib
ipykernel
nbsphinx
sphinx-autodoc-typehints
# For host_callback.py
msgpack
# The next packages are for notebooks
matplotlib
sklearn