Skip to content

Commit eb0ab4b

Browse files
DOC: Download example datasets before doc build (#2591)
1 parent 2012123 commit eb0ab4b

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ build:
1313
- pixi install -e docs
1414
build:
1515
html:
16+
- pixi run -e docs python ci/scripts/download-all-tutorial-datasets.py
1617
- pixi run -e docs sphinx-build -T -b html docs $READTHEDOCS_OUTPUT/html
1718
sphinx:
1819
configuration: docs/conf.py
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import parcels.tutorial
2+
3+
for name in parcels.tutorial.list_datasets():
4+
parcels.tutorial.open_dataset(name)

0 commit comments

Comments
 (0)