Update confpy template

Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
This commit is contained in:
Gode, Sebastian 2024-09-19 07:19:21 +00:00 committed by zuul
parent 4aac5cfe88
commit d057c0b485
2 changed files with 7 additions and 2 deletions

View File

@ -16,6 +16,8 @@
import os
import sys
from git import Repo
from datetime import datetime
extensions = [
'otcdocstheme',
@ -118,3 +120,8 @@ latex_documents = [
{% endif -%}
]
# Get the Git commit values for last updated timestamp on each page
repo = Repo(search_parent_directories=True)
commit = repo.head.commit
current_commit_hash = commit.hexsha
current_commit_time = commit.committed_datetime.strftime('%Y-%m-%d %H:%M')

View File

@ -109,8 +109,6 @@
- docs/ddm
- docs/dds
- docs/gaussdb_mysql
- docs/gaussdb_nosql
- docs/gaussdb_nosql
- docs/geminidb
- docs/opengauss
- docs/drs