Skip to content

Commit 0c2a321

Browse files
committed
hdf5 bug fix
1 parent e71ba5e commit 0c2a321

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
# Read the Docs configuration file
2-
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3-
4-
# Required
52
version: 2
63

7-
# Set the OS, Python version, and other tools you might need
84
build:
95
os: ubuntu-24.04
106
tools:
117
python: "3.11"
128

13-
apt_packages:
14-
libhdf5-dev
15-
16-
# Build documentation in the "docs/" directory with Sphinx
179
sphinx:
18-
configuration: docs/conf.py
10+
configuration: docs/conf.py
1911

20-
# Optionally, but recommended,
21-
# declare the Python requirements required to build your documentation
22-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
12+
# Install dependencies in order
2313
python:
24-
install:
25-
- requirements: requirements.txt
26-
14+
install:
15+
- requirements: docs/readthedocs.requirements.txt # Install HDF5 support first
16+
- requirements: requirements.txt # Then install the rest

docs/readthedocs.requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
h5py # Ensures HDF5 support
2+
netcdf4>=1.6.0 # Uses a prebuilt binary version

0 commit comments

Comments
 (0)