summary refs log tree commit diff stats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-02-25 19:39:12 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2025-05-08 17:11:14 +0100
commit83e256c0df7433c05d28b11690323fba7ad9dbf0 (patch)
tree1397792d167efa41cca1270d046f053e1f8a08ee /docs/conf.py
parentae8ac80c50c2d50e3e17cf5ab35083d2da106235 (diff)
downloadfocaccia-qemu-83e256c0df7433c05d28b11690323fba7ad9dbf0.tar.gz
focaccia-qemu-83e256c0df7433c05d28b11690323fba7ad9dbf0.zip
docs/about/removed-features: auto-generate a note for versioned machine types
We remove versioned machine types on a fixed schedule. This allows us
to auto-generate a paragraph in the removed-features.rst document that
always has accurate version info.

Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 60dcf2a541..248ff8cf5d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -137,6 +137,7 @@ if micro >= 50:
         minor += 1
 
 ver_machine_deprecation_version = "%d.%d.0" % (major - 3, minor)
+ver_machine_deletion_version = "%d.%d.0" % (major - 6, minor)
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -170,6 +171,7 @@ confdir = os.getenv('CONFDIR', "/etc/qemu")
 vars = {
     "CONFDIR": confdir,
     "VER_MACHINE_DEPRECATION_VERSION": ver_machine_deprecation_version,
+    "VER_MACHINE_DELETION_VERSION": ver_machine_deletion_version,
 }
 
 rst_epilog = "".join([