Fix swiss int logo link
Some checks failed
gl/check check status: failure (a882f93e8e3ec56e6f47e649794e0f71d0af30ca)
Some checks failed
gl/check check status: failure (a882f93e8e3ec56e6f47e649794e0f71d0af30ca)
This commit is contained in:
parent
2be2e7b88d
commit
a882f93e8e
@ -167,7 +167,13 @@ def process_repositories(args, service):
|
|||||||
context["git_fqdn"] = git_fqdn
|
context["git_fqdn"] = git_fqdn
|
||||||
if target_repo.get("type") != "github":
|
if target_repo.get("type") != "github":
|
||||||
context["git_type"] = target_repo["type"]
|
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(
|
context["html_options"] = dict(
|
||||||
disable_search=True,
|
disable_search=True,
|
||||||
site_name="Internal Documentation Portal",
|
site_name="Internal Documentation Portal",
|
||||||
@ -217,7 +223,13 @@ def process_repositories(args, service):
|
|||||||
context["git_fqdn"] = git_fqdn
|
context["git_fqdn"] = git_fqdn
|
||||||
if target_repo.get("type") != "github":
|
if target_repo.get("type") != "github":
|
||||||
context["git_type"] = target_repo["type"]
|
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(
|
context["html_options"] = dict(
|
||||||
disable_search=True,
|
disable_search=True,
|
||||||
site_name="Internal Documentation Portal",
|
site_name="Internal Documentation Portal",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user