Compare commits

..

2 Commits

Author SHA1 Message Date
6068d7cea1 Added Commit Hash and Time to confpy
Some checks failed
gl/check check status: failure (6068d7cea1a79a0cdad0b19e2e6b8fc16c2637bd)
2024-09-06 07:52:49 +00:00
1985e1f40d Added Commit Hash and Time to confpy
All checks were successful
gl/check check status: success (1985e1f40d5cdc790ed556777ca5e4f572550b72)
gl/gate gate status: success (1985e1f40d5cdc790ed556777ca5e4f572550b72)
2024-09-06 07:28:44 +00:00
3 changed files with 1 additions and 3 deletions

View File

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

View File

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

View File

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