[docs][reno] Update reno to include template 21/72821/2
authorEmma Foley <efoley@redhat.com>
Thu, 12 Aug 2021 11:43:39 +0000 (12:43 +0100)
committerEmma Foley <efoley@redhat.com>
Thu, 12 Aug 2021 12:27:30 +0000 (13:27 +0100)
The template for release notes wasn't conforming to the expected
headings. A template was added to the config.

To generate a new note (from the base directory in the repo), use::

    reno --rel-notes-dir docs/release/release-notes/ new slug-goes-here

The release notes are also included as part of the docs build, and the
existing releases notes have been renamed accordingly.

Signed-off-by: Emma Foley <efoley@redhat.com>
Change-Id: I05d1950b37f266bb6eb3515b3660665cfd5c1d8b

docs/conf.py
docs/release/release-notes/config.yaml
docs/release/release-notes/index.rst
docs/release/release-notes/kali-release-notes.rst
docs/release/release-notes/notes/add-reno-12eb20e3448b663b.yaml
docs/release/release-notes/old-release-notes.rst [moved from docs/release/release-notes/release-notes.rst with 98% similarity]
docs/release/release-notes/unreleased.rst [new file with mode: 0644]

index 3c4453e..041afc5 100644 (file)
@@ -1 +1,3 @@
 from docs_conf.conf import *
+
+extensions = ['reno.sphinxext']
index 5c2b7a7..ae56f82 100644 (file)
@@ -1,3 +1,4 @@
+---
 unreleased_version_title: 'Lakelse'
 sections:
   - [ features, New Features ]
@@ -15,3 +16,37 @@ branch_name_prefix: stable/
 prelude_section_name: release_summary
 stop_at_branch_base: False
 collapse_pre_releases: False
+template: |
+  release_summary: >
+      Add a summary of the change here. All sections (including this one) are
+      optional, and if they are not needed, you can completely remove that section.
+      Each section is rendered separately, this mean you should assume each item
+      below is self-contained, and should not depend on info in any other section.
+      This means repetition is sometimes necessary, and this is okay.
+  features:
+    - |
+      List new features here
+  testing:
+    - |
+      List new testing notes here
+  docs:
+    - |
+      List documentation updates here
+  containers:
+    - |
+      List container updates here
+  ansible:
+    - |
+      List ansible playbook updates here
+  build:
+    - |
+      List build script updates here
+  fixes:
+    - |
+      List normal bug fixes here
+  deprecations:
+    - |
+      List deprecations here
+  other:
+    - |
+      List other notes here
index df4696a..6185fc9 100644 (file)
@@ -4,13 +4,14 @@
 .. http://creativecommons.org/licenses/by/4.0
 .. (c) Anuket, Intel Corporation and others.
 
-==================================================
+==============================
 Anuket Barometer Release Notes
-==================================================
+==============================
 
 .. toctree::
    :maxdepth: 1
 
+   unreleased
    kali-release-notes
-   release-notes
+   old-release-notes
 
index 250becc..cac7325 100644 (file)
@@ -1,9 +1,9 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
 
-============================
-Barometer Kali Release Notes
-============================
+==================
+Kali Release Notes
+==================
 
 This document provides the release notes for Kali release of Barometer.
 
index 4dbf2e8..c0e8c7e 100644 (file)
@@ -1,4 +1,7 @@
 ---
+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 and corresponding tox jobs to make compiling release notes easier
+    Add `reno <https://docs.openstack.org/reno/latest/index.html#>`_ and corresponding tox jobs to make compiling release notes easier
@@ -1,9 +1,9 @@
 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
 .. http://creativecommons.org/licenses/by/4.0
 
-======================================================================
-Barometer Release Notes
-======================================================================
+===================
+Older Release Notes
+===================
 
 This document provides the release notes for Euphrates release of Barometer.
 
diff --git a/docs/release/release-notes/unreleased.rst b/docs/release/release-notes/unreleased.rst
new file mode 100644 (file)
index 0000000..e3b0dcc
--- /dev/null
@@ -0,0 +1,10 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+.. (c) Anuket and others.
+
+============================
+Current Series Release Notes
+============================
+
+.. release-notes::
+   :relnotessubdir: docs/release/release-notes/