From 39c03f507e5ee9b46bc769643e7cb8165a6278e5 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 17 Oct 2023 15:04:43 +0800 Subject: [PATCH] docs: clone TSDB and PyGrinder repos to use their latest code and docs; --- .readthedocs.yaml | 51 +++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 94ed505d..f502233b 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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