forked from infra/otc-metadata
Fix swiss int logo link
This commit is contained in:
parent
2be2e7b88d
commit
a882f93e8e
@ -167,7 +167,13 @@ def process_repositories(args, service):
|
||||
context["git_fqdn"] = git_fqdn
|
||||
if target_repo.get("type") != "github":
|
||||
context["git_type"] = target_repo["type"]
|
||||
if args.target_environment == "internal":
|
||||
if args.target_environment == "internal" and target_repo["repo"].split("/")[0] == "docs-swiss":
|
||||
context["html_options"] = dict(
|
||||
disable_search=True,
|
||||
site_name="Internal Documentation Portal",
|
||||
logo_url="https://docs-swiss-int.otc-service.com",
|
||||
)
|
||||
elif args.target_environment == "internal":
|
||||
context["html_options"] = dict(
|
||||
disable_search=True,
|
||||
site_name="Internal Documentation Portal",
|
||||
@ -217,7 +223,13 @@ def process_repositories(args, service):
|
||||
context["git_fqdn"] = git_fqdn
|
||||
if target_repo.get("type") != "github":
|
||||
context["git_type"] = target_repo["type"]
|
||||
if args.target_environment == "internal":
|
||||
if args.target_environment == "internal" and target_repo["repo"].split("/")[0] == "docs-swiss":
|
||||
context["html_options"] = dict(
|
||||
disable_search=True,
|
||||
site_name="Internal Documentation Portal",
|
||||
logo_url="https://docs-swiss-int.otc-service.com",
|
||||
)
|
||||
elif args.target_environment == "internal":
|
||||
context["html_options"] = dict(
|
||||
disable_search=True,
|
||||
site_name="Internal Documentation Portal",
|
||||
|
Loading…
x
Reference in New Issue
Block a user