Skip to content

Commit

Permalink
manual build for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
wolearyc committed Sep 16, 2024
1 parent 81ea698 commit 3cfcd4c
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
version: "2"

build:
os: "ubuntu-22.04"
os: ubuntu-22.04
tools:
python: "3.12"

python:
install:
- requirements: docs/requirements.txt
- requirements: deps/requirements.txt
- requirements: deps/torch_requirements.txt -f https://data.pyg.org/whl/torch-2.4.0+cpu.html
- requirements: deps/torch_geometric_requirements.txt
- requirements: deps/torch_extra_requirements.txt
commands:
- python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt
- python -m pip install --exists-action=w --no-cache-dir -r deps/requirements.txt
- python -m pip install --exists-action=w --no-cache-dir -r deps/torch_requirements.txt -f https://data.pyg.org/whl/torch-2.4.0+cpu.html
- python -m pip install --exists-action=w --no-cache-dir -r deps/torch_geometric_requirements.txt
- python -m pip install --exists-action=w --no-cache-dir -r deps/torch_extra_requirements.txt
- python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html

sphinx:
configuration: docs/source/conf.py

0 comments on commit 3cfcd4c

Please sign in to comment.