Skip to content

Commit 70f861f

Browse files
committed
fail-on-warning by default
1 parent 1bf0b54 commit 70f861f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Build the documentation
6262
run: |
6363
cd "$PROJECT_ROOT"
64-
hatch run docs:build -W
64+
hatch run docs:build
6565
6666
test-scripts:
6767
runs-on: ubuntu-latest

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ features = [ "dev" ]
6868

6969
[tool.hatch.envs.docs]
7070
features = [ "doc" ]
71-
scripts.build = "sphinx-build -M html docs docs/_build {args}"
71+
scripts.build = "sphinx-build -M html docs docs/_build -W {args}"
7272
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
7373
scripts.clean = "git clean -fdX -- {args:docs}"
7474

0 commit comments

Comments
 (0)