Compare commits

..

3 Commits

Author SHA1 Message Date
08948739a0 longer commit string
All checks were successful
gl/check check status: success (08948739a05ea33ec515e8ebc765596bee7350b5)
gl/gate gate status: success (08948739a05ea33ec515e8ebc765596bee7350b5)
2024-09-06 07:55:40 +00:00
88bb548c93 sbv-update
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-09-06 07:36:50 +00:00
f94afbff0f Added Commit Hash and Time to confpy
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2024-09-06 07:36:01 +00:00
3 changed files with 3 additions and 1 deletions

View File

@ -134,7 +134,7 @@ latex_documents = [
{% endif -%} {% endif -%}
] ]
# Get the Git commit values for timestamp on each page # Get the Git commit values for last updated timestamp on each page
repo = Repo(search_parent_directories=True) repo = Repo(search_parent_directories=True)
commit = repo.head.commit commit = repo.head.commit
current_commit_hash = commit.hexsha current_commit_hash = commit.hexsha

View File

@ -5,3 +5,4 @@
.. service_card:: .. service_card::
:service_type: {{ service_type }} :service_type: {{ service_type }}
:environment: {{ environment }}

View File

@ -211,6 +211,7 @@ def process_repositories(args, service):
site_name="Swiss Open Telekom Cloud Docs", site_name="Swiss Open Telekom Cloud Docs",
logo_url="https://docs-beta.sc.otc.t-systems.com", logo_url="https://docs-beta.sc.otc.t-systems.com",
) )
context["environment"] = args.target_environment
sbv_title = (service["service_title"] + "\n" sbv_title = (service["service_title"] + "\n"
+ ('=' * len(service["service_title"]))) + ('=' * len(service["service_title"])))
context["sbv_title"] = sbv_title context["sbv_title"] = sbv_title