Skip to content

Commit

Permalink
fix: install dependencies manually to fix failed doc building on read…
Browse files Browse the repository at this point in the history
…thedocs;
  • Loading branch information
WenjieDu committed Oct 17, 2023
1 parent 1ac00f4 commit 745b096
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,14 @@ build:

tools:
python: "3.10"

jobs:
pre_install:
- python -m pip install --upgrade pip
- pip install pandas numpy scipy scikit-learn
- pip install sphinx==6.2.1 docutils==0.19 sphinxcontrib-bibtex==2.1.4 sphinxcontrib-gtagjs sphinx-autodoc-typehints furo==2023.07.26

post_install:
- pip install docutils==0.20
# this version fixes issue#102, put it in post_install to avoid being
# overwritten by other versions (like 0.19) while installing other packages

0 comments on commit 745b096

Please sign in to comment.