Compare commits
1 Commits
confpy-git
...
rfs-fix
Author | SHA1 | Date | |
---|---|---|---|
0af4b807f1 |
@ -1,5 +1,5 @@
|
||||
---
|
||||
hc_location: api/rfs
|
||||
hc_location: api/aos
|
||||
environment: internal
|
||||
html_location: docs/rfs/api-ref
|
||||
link: /resource-formation-service/api-ref/
|
||||
|
@ -16,8 +16,6 @@
|
||||
|
||||
import os
|
||||
import sys
|
||||
from git import Repo
|
||||
from datetime import datetime
|
||||
|
||||
extensions = [
|
||||
'otcdocstheme',
|
||||
@ -133,8 +131,3 @@ latex_documents = [
|
||||
{% endif -%}
|
||||
]
|
||||
|
||||
# Get the Git commit values
|
||||
repo = Repo(search_parent_directories=True)
|
||||
commit = repo.head.commit
|
||||
current_commit_hash = commit.hexsha[:7]
|
||||
current_commit_time = commit.committed_datetime.strftime('%Y-%m-%d %H:%M')
|
||||
|
@ -13,4 +13,3 @@ otc-sphinx-directives>=0.1.0
|
||||
sphinx-minify>=0.0.1 # Apache-2.0
|
||||
git+https://gitea.eco.tsi-dev.otc-service.com/infra/otc-metadata.git#egg=otc_metadata
|
||||
setuptools
|
||||
gitpython
|
||||
|
Reference in New Issue
Block a user