Use a dedicated target to run reno command

Since the requirements for documentation was split out, the default
venv target does not install these. Create the new dedicated target to
run documentation tools such as reno.

Change-Id: I43cc4149d8b97799703251e2e2e7b71020ee2948
This commit is contained in:
Takashi Kajinami 2024-12-17 23:09:45 +09:00
parent 2ec0177edc
commit f514703448
2 changed files with 5 additions and 1 deletions

View File

@ -40,7 +40,7 @@ generate release notes. Please read the docs for details. In summary, use
.. code-block:: bash
$ tox -e venv -- reno new <bug-,bp-,whatever>
$ tox -e venv-docs -- reno new <bug-,bp-,whatever>
Then edit the sample file that was created and push it with your change.

View File

@ -154,6 +154,10 @@ commands =
sphinx-build -j auto -W -b html doc/source doc/build/html
doc8 doc/source
[testenv:venv-docs]
deps = {[testenv:docs]deps}
commands = {posargs}
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals =