forked from infra/otc-metadata
add small change
This commit is contained in:
parent
6d5be1ad29
commit
6994dd37f7
@ -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']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user