diff --git a/.readthedocs.yaml b/.readthedocs.yaml index fd072af0d..eac4916df 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,6 +13,7 @@ build: - pixi install -e docs build: html: + - pixi run -e docs python ci/scripts/download-all-tutorial-datasets.py - pixi run -e docs sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html sphinx: configuration: docs/conf.py diff --git a/ci/scripts/download-all-tutorial-datasets.py b/ci/scripts/download-all-tutorial-datasets.py new file mode 100644 index 000000000..3676012bb --- /dev/null +++ b/ci/scripts/download-all-tutorial-datasets.py @@ -0,0 +1,4 @@ +import parcels.tutorial + +for name in parcels.tutorial.list_datasets(): + parcels.tutorial.open_dataset(name)