Skip to content

Commit 4252e10

Browse files
committed
Turn off treating warnings as errors in authoring mode using -W
Only use it in CI workflows.
1 parent 1d808fe commit 4252e10

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Changes
66
Unreleased
77
==========
88
- Removed redundant ``--jobs auto`` definition
9+
- Turned off treating warnings as errors in authoring mode using the
10+
``-W`` option, only use it in CI workflows.
911

1012
2.1.6 - 2025/12/23
1113
==================

common-build/rules.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ SPHINXAUTOBUILD = $(ENV_DIR)/bin/sphinx-autobuild
5353
AUTOBUILD_OPTS = --watch $(TOP_DIR) --re-ignore '^(?!.+\.(?:rst|md|mmd|html|css|js|py|conf)$$)' --open-browser --delay 0
5454
BUILD_DIR = $(LOCAL_DIR)/.build
5555
SPHINX_ARGS = . $(BUILD_DIR)
56-
SPHINX_OPTS = -W -n --jobs auto
57-
SPHINX_OPTS_CI = --keep-going
56+
SPHINX_OPTS = -n --jobs auto
57+
SPHINX_OPTS_CI = -W --keep-going
5858
RST2HTML = $(ENV_DIR)/bin/rst2html.py
5959
TELEMETRY_DIR = $(LOCAL_DIR)/telemetry
6060
VALE_VERSION = 2.6.7

0 commit comments

Comments
 (0)