Merge "[reno] Add tox target for creating new release note"
authorEmma Foley <efoley@redhat.com>
Fri, 17 Dec 2021 09:23:32 +0000 (09:23 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Fri, 17 Dec 2021 09:23:32 +0000 (09:23 +0000)
docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml
tox.ini

index c0e8c7e..2456c09 100644 (file)
@@ -4,4 +4,4 @@ documentation:
     Release notes are now automatically generated and included in the documentation using `reno <https://docs.openstack.org/reno/latest/index.html>`_.
 other:
   - |
-    Add `reno <https://docs.openstack.org/reno/latest/index.html#>`_ and corresponding tox jobs to make compiling release notes easier
+    Add `reno <https://docs.openstack.org/reno/latest/index.html#>`_ and corresponding tox jobs (compile notes and add new notes) to make compiling release notes easier
diff --git a/tox.ini b/tox.ini
index 9452946..6f02ca0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -22,3 +22,8 @@ commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}
 basepython=python3
 deps = -rdocs/requirements.txt
 commands = reno --rel-notes-dir docs/release/release-notes/ report
+
+[testenv:docs-create-note]
+basepython = python3
+deps = -rdocs/requirements.txt
+commands = reno --rel-notes-dir docs/release/release-notes/ new {posargs}