Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,18 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# Exclude .ipynb files since we use jupytext-paired .md files as the source
exclude_patterns = ["_build", "**/*.ipynb"]
# Exclude .ipynb files that have a paired jupytext .md file
# (the .md is the source of truth for those). Notebooks without
# a paired .md (e.g. cfinterval.ipynb) are kept as-is.
from pathlib import Path

_ipynb_excludes = [
str(p.relative_to(Path(__file__).parent))
for p in Path(__file__).parent.rglob("*.ipynb")
if p.with_suffix(".md").exists()
and "_build" not in p.parts
]
exclude_patterns = ["_build"] + _ipynb_excludes

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = "igor"
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ readme = "README.md"
requires-python = ">=3.11"
license = "Apache-2.0"
dependencies = [
"pandas<3",
"pooch",
"netCDF4",
"matplotlib",
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pandas<3
pooch
netCDF4
matplotlib
Expand Down