Skip to content

Commit 80ae6af

Browse files
committed
Remove -W flag from docs build command
The -W flag treats warnings as errors, which is too strict for documentation builds.
1 parent 8efac0f commit 80ae6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ features = [ "dev" ]
108108
[tool.hatch.envs.docs]
109109
features = [ "doc" ]
110110
dev-mode = true
111-
scripts.build = "sphinx-build -M html docs docs/_build -W {args}"
111+
scripts.build = "sphinx-build -M html docs docs/_build {args}"
112112
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
113113
scripts.clean = "git clean -fdX -- {args:docs}"
114114

0 commit comments

Comments
 (0)