Skip to content

Commit 3ef8377

Browse files
committed
doc: enable nitpicking for xref validation
1 parent f19b5d1 commit 3ef8377

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ description = Check if documentation generates properly
111111
setenv =
112112
links: BUILDER = linkcheck
113113
html: BUILDER = html
114+
BUILDER_OPTS = --color -v -j auto -W --keep-going -n
114115
passenv =
115116
ANSYSLMD_LICENSE_FILE
116117
LD_LIBRARY_PATH
@@ -126,7 +127,7 @@ extras =
126127
visualization
127128
commands =
128129
python -m build "{toxinidir}" --outdir "{toxinidir}/doc/source/_static/artifacts"
129-
sphinx-build -d "{toxworkdir}/doc_doctree" doc/source "{toxinidir}/doc/_build/{env:BUILDER}" --color -v -b {env:BUILDER} -j auto -W --keep-going
130+
sphinx-build -d "{toxworkdir}/doc_doctree" doc/source "{toxinidir}/doc/_build/{env:BUILDER}" {env:BUILDER_OPTS} -b {env:BUILDER}
130131

131132
# The following environments are only for development purposes. Do not use in CI/CD.
132133
# Using these during a CI/CD can lead to unexpected issues due to a Docker-In-Docker

0 commit comments

Comments
 (0)