aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmma Foley <efoley@redhat.com>2021-12-13 11:09:19 +0000
committerEmma Foley <efoley@redhat.com>2021-12-13 12:22:00 +0000
commitc74f84aa2bf0b7603aa9be6f621de7b6784c47fe (patch)
treed59103adfc0c6a372fe24cc0cf73bd88ffe2d641
parent08f1eb206dfca7f31e7c2127b593a6904f399b2a (diff)
[reno] Add tox target for creating new release note
Added a tox target for reno, so new notes can be creted using:: tox -e docs-create-note -- slug-goes-here Signed-off-by: Emma Foley <efoley@redhat.com> Change-Id: Ie3b7a3326e80c4d1d49fed42900ce4d31fa3a2ba
-rw-r--r--docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml2
-rw-r--r--tox.ini5
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml b/docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml
index c0e8c7e9..2456c099 100644
--- a/docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml
+++ b/docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml
@@ -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 94529464..6f02ca0b 100644
--- 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}