From c74f84aa2bf0b7603aa9be6f621de7b6784c47fe Mon Sep 17 00:00:00 2001 From: Emma Foley Date: Mon, 13 Dec 2021 11:09:19 +0000 Subject: [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 Change-Id: Ie3b7a3326e80c4d1d49fed42900ce4d31fa3a2ba --- docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml | 2 +- tox.ini | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 `_. other: - | - Add `reno `_ and corresponding tox jobs to make compiling release notes easier + Add `reno `_ 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} -- cgit 1.2.3-korg