| 1 |
Fromscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`set-documentation-version-as-patch-not-build-edit.patch`#From.: Ahmad Khalifa <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`set-documentation-version-as-patch-not-build-edit.patch`#Date.: Fri, 15 Nov 2024 14:17:10 +0000 |
| 3 |
Forwardedscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`set-documentation-version-as-patch-not-build-edit.patch`#Forwarded.: not-needed |
| 4 |
Subjectscip-debian debian coreboot 25.09+dfsg-1 coreboot/patches/`set-documentation-version-as-patch-not-build-edit.patch`#Subject.: [PATCH] Set Documentation version as patch, not build edit |
| 5 |
|
| 6 |
--- |
| 7 |
Documentation/conf.py | 5 ++++- |
| 8 |
1 file changed, 4 insertions(+), 1 deletion(-) |
| 9 |
|
| 10 |
--- a/Documentation/conf.pyscip-debian debian coreboot 25.09+dfsg-1 coreboot/upstream/`Documentation/conf.py`: |
| 11 |
+++ b/Documentation/conf.pyscip-debian debian coreboot 25.09+dfsg-1 coreboot/upstream/`Documentation/conf.py`: |
| 12 |
@@ -7,12 +7,14 @@ |
| 13 |
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information |
| 14 |
|
| 15 |
import subprocess |
| 16 |
+import os |
| 17 |
|
| 18 |
project = 'coreboot' |
| 19 |
copyright = 'CC-by 4.0 the coreboot project' |
| 20 |
author = 'the coreboot project' |
| 21 |
|
| 22 |
|
| 23 |
+# release = subprocess.check_output(('git', 'describe')).decode("utf-8") |
| 24 |
+release = os.environ['DEB_VERSION'] |
| 25 |
# The short X.Y version. |
| 26 |
version = release.split("-")[0] |
| 27 |
|