From: Ahmad Khalifa Date: Fri, 15 Nov 2024 14:17:10 +0000 Forwarded: not-needed Subject: [PATCH] Set Documentation version as patch, not build edit --- Documentation/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -7,12 +7,14 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information import subprocess +import os project = 'coreboot' copyright = 'CC-by 4.0 the coreboot project' author = 'the coreboot project' -release = subprocess.check_output(('git', 'describe')).decode("utf-8") +# release = subprocess.check_output(('git', 'describe')).decode("utf-8") +release = os.environ['DEB_VERSION'] # The short X.Y version. version = release.split("-")[0]