Skip to content

Commit 440e624

Browse files
committed
Pass posargs to 'docs' target
This lets us pass things like '-E' (to discard environment) when needed. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 5ecac11 commit 440e624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ description = invoke sphinx-build to build the HTML docs and check that all link
2222
whitelist_externals = sphinx-build
2323
basepython = python3.6
2424
extras = docs
25-
commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -W -bhtml
25+
commands = sphinx-build -d "{toxworkdir}/docs_doctree" doc "{toxworkdir}/docs_out" --color -W -bhtml {posargs}
2626

2727

2828
[testenv:fix-lint]

0 commit comments

Comments
 (0)