Skip to content

Commit fc2909a

Browse files
timtreisclaude
andcommitted
Fix RTD build: drop -W flag from sphinx docs:build
The old RTD config had fail_on_warning: false. Upstream libraries (xarray, geopandas) emit harmless import warnings that -W promotes to fatal errors. Remove -W to match previous behavior. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1e02e4c commit fc2909a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ dependency-groups = [ "dev" ]
8282
dependency-groups = [ "doc" ]
8383

8484
[tool.hatch.envs.docs.scripts]
85-
build = "sphinx-build -M html docs docs/_build -W {args}"
85+
build = "sphinx-build -M html docs docs/_build {args}"
8686
open = "python -m webbrowser -t docs/_build/html/index.html"
8787
clean = "git clean -fdX -- {args:docs}"
8888

0 commit comments

Comments
 (0)