From f514703448b29f574a047cb25fb25c5a07722eb5 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 17 Dec 2024 23:09:45 +0900 Subject: [PATCH] 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 --- doc/source/contributor/topics/release-notes.rst | 2 +- tox.ini | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/source/contributor/topics/release-notes.rst b/doc/source/contributor/topics/release-notes.rst index a0575fe659..61fc200625 100644 --- a/doc/source/contributor/topics/release-notes.rst +++ b/doc/source/contributor/topics/release-notes.rst @@ -40,7 +40,7 @@ generate release notes. Please read the docs for details. In summary, use .. code-block:: bash - $ tox -e venv -- reno new + $ tox -e venv-docs -- reno new Then edit the sample file that was created and push it with your change. diff --git a/tox.ini b/tox.ini index 544532c1ac..38cc1e205e 100644 --- a/tox.ini +++ b/tox.ini @@ -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 =