Skip to content
Snippets Groups Projects
Commit 3ae9eae7 authored by David Douard's avatar David Douard
Browse files

tox: make it possible to set the SPHINXOPTS env var when building the doc with tox

This will allow the CI to run the building job with sphinx options like
`-W` (aka "turn warnings into errors").
parent a9b712a1
No related branches found
No related tags found
1 merge request!281Small improvements to help the CI job tracking errors and warnings in the doc
SPHINXOPTS =
SPHINXOPTS ?=
SPHINXBUILD = python3 -c 'import sphinx, sys; sys.exit(sphinx.main(sys.argv))'
SOURCEDIR = .
BUILDDIR = _build
......
......@@ -3,6 +3,7 @@ envlist=flake8
[testenv]
basepython = python3
passenv = SPHINXOPTS
[testenv:sphinx]
deps =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment