Compare commits

..
Author SHA1 Message Date
vladimirhasko 6303a57fb8 fixing tool generate doc confpy to read additional metadata
gl/check check status: success (6303a57fb8e111d0c37d152734be0abecf0397c7)
gl/gate gate status: success (6303a57fb8e111d0c37d152734be0abecf0397c7)
2023-08-16 19:47:36 +00:00
+2 -12
View File
@@ -148,12 +148,7 @@ def process_repositories(args, service):
context["html_options"] = dict(
disable_search=True,
site_name="Internal Documentation Portal",
logo_url="https://docs-int.sc.otc.t-systems.com",
)
else:
context["html_options"] = dict(
site_name="Swiss Open Telekom Cloud Docs",
logo_url="https://docs-beta.sc.otc.t-systems.com",
logo_url="https://docs-int.otc-service.com",
)
context["doc_environment"] = args.target_environment
if doc['link']:
@@ -203,12 +198,7 @@ def process_repositories(args, service):
context["html_options"] = dict(
disable_search=True,
site_name="Internal Documentation Portal",
logo_url="https://docs-int.sc.otc.t-systems.com",
)
else:
context["html_options"] = dict(
site_name="Open Telekom Cloud Swiss Documentation Portal",
logo_url="https://docs-beta.sc.otc.t-systems.com",
logo_url="https://docs-int.otc-service.com",
)
sbv_title = (service["service_title"] + "\n"
+ ('=' * len(service["service_title"])))