-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
27 lines (23 loc) · 816 Bytes
/
.readthedocs.yaml
File metadata and controls
27 lines (23 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation using lightweight Python environment
# Heavy dependencies (netCDF4, cmor, xarray, etc.) are mocked in docs/conf.py
# This significantly speeds up builds and reduces complexity
build:
os: ubuntu-24.04
tools:
python: "3.11"
jobs:
pre_install:
# Install minimal dependencies needed for doc build
- pip install sphinx renku-sphinx-theme sphinx-rtd-theme click pyyaml jsonschema rstcheck
pre_build:
# Generate API documentation from source
- sphinx-apidoc --ext-autodoc --output-dir docs fremorizer/ --separate
# rst lint
- rstcheck --recursive docs/
# Configure Sphinx
sphinx:
configuration: docs/conf.py