add small change
All checks were successful
gl/check check status: success (6994dd37f79db0f2d13d1325ec3542deb7cdf6a4)
gl/gate gate status: success (6994dd37f79db0f2d13d1325ec3542deb7cdf6a4)

This commit is contained in:
Tino Schreiber 2023-05-30 08:48:46 +00:00
parent 6d5be1ad29
commit 6994dd37f7

View File

@ -151,7 +151,16 @@ def process_repositories(args, service):
logo_url="https://docs-int.otc-service.com", logo_url="https://docs-int.otc-service.com",
) )
context["doc_environment"] = args.target_environment context["doc_environment"] = args.target_environment
context["doc_link"] = doc['link'] if doc['link']:
context["doc_link"] = doc['link']
else:
context["doc_link"] = (
'/'
+ service['service_uri']
+ '/'
+ doc['type']
+ '/'
)
context["doc_title"] = doc['title'] context["doc_title"] = doc['title']
context["doc_type"] = doc['type'] context["doc_type"] = doc['type']
context["service_category"] = service['service_category'] context["service_category"] = service['service_category']