From 39c03f507e5ee9b46bc769643e7cb8165a6278e5 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Tue, 17 Oct 2023 15:04:43 +0800 Subject: [PATCH 1/3] 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 From 37896127d3e87d0161d7f71e0ee582df2ae9a922 Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Wed, 18 Oct 2023 17:26:17 +0800 Subject: [PATCH 2/3] docs: update the docs; --- README.md | 2 +- docs/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2127c91b..8c77797a 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ if it helps with your research. This really means a lot to our open-source resea To make various open-source time-series datasets readily available to our users, -PyPOTS gets supported by its subproject [TSDB (Time-Series Data Base)](https://github.com/WenjieDu/TSDB), +PyPOTS gets supported by its subproject [TSDB (Time-Series Data Beans)](https://github.com/WenjieDu/TSDB), a toolbox making loading time-series datasets super easy! Visit [TSDB](https://github.com/WenjieDu/TSDB) right now to know more about this handy tool 🛠! diff --git a/docs/index.rst b/docs/index.rst index 502d61cc..9b0908a5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -88,7 +88,7 @@ if it helps with your research. This really means a lot to our open-source resea :align: left :target: https://github.com/WenjieDu/TSDB -To make various open-source time-series datasets readily available to our users, PyPOTS gets supported by its sub-project `TSDB (Time-Series Data Base) `_, a toolbox making loading time-series datasets super easy! +To make various open-source time-series datasets readily available to our users, PyPOTS gets supported by its sub-project `TSDB (Time-Series Data Beans) `_, a toolbox making loading time-series datasets super easy! Visit `TSDB `_ right now to know more about this handy tool 🛠! It now supports a total of 168 open-source datasets. From 9aef4f1ce55bd7e62154180f8966bcef2fce4cce Mon Sep 17 00:00:00 2001 From: Wenjie Du Date: Wed, 18 Oct 2023 17:51:55 +0800 Subject: [PATCH 3/3] Install from source code to use the latest docs of TSDB and PyGrinder (#219) * fix: install from source code to use the latest docs; * fix: install from source code to use the latest docs; * fix: install from source code to use the latest docs; --- .readthedocs.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f502233b..dbdcd398 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -19,19 +19,15 @@ build: 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 + - 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: - pip install docutils==0.20