forked from WenjieDu/PyPOTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.readthedocs.yaml
39 lines (32 loc) · 1.55 KB
/
.readthedocs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This is file is used to help customize PyPOTS documentation building process on ReadTheDocs.
# https://docs.readthedocs.io/en/stable/build-customization.html
version: 2
formats:
- htmlzip
- pdf
- epub
sphinx:
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 -r requirements.txt
- 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
- git clone https://github.com/WenjieDu/TSDB TSDB_repo --depth 1
- git clone https://github.com/WenjieDu/PyGrinder PyGrinder_repo --depth 1
- pip install ./TSDB_repo && pip install ./PyGrinder_repo && pip install .
post_install:
# To fix the exception: This documentation is not using `furo.css` as the stylesheet.
# If you have set `html_style` in your conf.py file, remove it.
- pip install sphinx==7.2.6
# this docutils version fixes issue#102, put it in post_install to avoid being
# overwritten by other versions (like 0.19) while installing other packages
- pip install docutils==0.20