Skip to content

Commit

Permalink
docs: clone TSDB and PyGrinder repos to use their latest code and docs;
Browse files Browse the repository at this point in the history
  • Loading branch information
WenjieDu committed Oct 17, 2023
1 parent dc3976b commit 39c03f5
Showing 1 changed file with 29 additions and 22 deletions.
51 changes: 29 additions & 22 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,36 @@
version: 2

formats:
- htmlzip
- pdf
- epub
- htmlzip
- pdf
- epub

sphinx:
configuration: docs/conf.py
fail_on_warning: false
configuration: docs/conf.py
fail_on_warning: false

build:
os: ubuntu-22.04

tools:
python: "3.10"

jobs:
pre_install:
- python -m pip install --upgrade pip
- pip install torch==1.13.1 -f https://download.pytorch.org/whl/cpu
- pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse==0.6.17 -f "https://data.pyg.org/whl/torch-1.13.1+cpu.html"
- pip install pypots
- 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
os: ubuntu-22.04

tools:
python: "3.10"

jobs:
post_checkout:
- git clone https://github.com/WenjieDu/TSDB TSDB_repo --depth 1
- mv TSDB_repo/tsdb .
- git clone https://github.com/WenjieDu/PyGrinder PyGrinder_repo --depth 1
- mv PyGrinder_repo/pygrinder .
- rm -rf TSDB_repo && rm -rf PyGrinder_repo

pre_install:
- python -m pip install --upgrade pip
- pip install torch==1.13.1 -f https://download.pytorch.org/whl/cpu
- pip install torch-geometric==2.3.1 torch-scatter==2.1.1 torch-sparse==0.6.17 -f "https://data.pyg.org/whl/torch-1.13.1+cpu.html"
- pip install pypots
- 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 39c03f5

Please sign in to comment.