From d2bcd35fa2ed82f27ceb794a99e602da9f9bf77a Mon Sep 17 00:00:00 2001 From: abearab Date: Wed, 26 Jun 2024 01:13:57 -0700 Subject: [PATCH] update docs --- .readthedocs.yaml | 2 -- docs/requirements.txt | 7 +++++-- docs/source/conf.py | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3517b06..f3e74fe 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,8 +7,6 @@ build: os: "ubuntu-22.04" tools: python: "mambaforge-22.9" - after: - - candi-install conda: environment: environment.yml diff --git a/docs/requirements.txt b/docs/requirements.txt index 9d435d2..5b22f37 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,8 +1,11 @@ -sphinx==3.2.1 -sphinx_rtd_theme==0.4.3 nbsphinx readthedocs-sphinx-search==0.3.2 +myst-parser=0.18.1 +sphinx=5.3.0 +sphinx_rtd_theme=1.1.1 +jinja2<=3.1 pandas configparser requests tqdm +pycandi \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index a6ce855..f2e53b0 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -11,9 +11,12 @@ # documentation root, use os.path.abspath to make it absolute, like shown here. # import os +import subprocess import sys sys.path.insert(0, os.path.abspath('../..')) +# Install CanDI - download datasets +subprocess.run('candi-install', shell=True) # -- Project information -----------------------------------------------------