Compare commits

..

1 Commits

Author SHA1 Message Date
fcba70b7c4 Change logo_url for Swiss Cloud
All checks were successful
gl/check check status: success (fcba70b7c44e2b0285157364f1b4fcd3ff78eb5e)
gl/gate gate status: success (fcba70b7c44e2b0285157364f1b4fcd3ff78eb5e)
2023-08-21 12:17:46 +00:00
3 changed files with 4 additions and 14 deletions

View File

@ -1,3 +1,3 @@
--- ---
name: database name: database
title: Databases title: Database

View File

@ -46,7 +46,6 @@ otcdocs_service_category = '{{ service_category }}'
otcdocs_service_title = '{{ service_title }}' otcdocs_service_title = '{{ service_title }}'
otcdocs_service_type = '{{ service_type }}' otcdocs_service_type = '{{ service_type }}'
otcdocs_search_environment = 'hc_swiss' otcdocs_search_environment = 'hc_swiss'
otcdocs_search_index = 'search_index_swiss'
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/" otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
# If extensions (or modules to document with autodoc) are in another directory, # If extensions (or modules to document with autodoc) are in another directory,
@ -106,6 +105,7 @@ html_theme_options = {
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{%- endif %} {%- endif %}
'logo_url': 'https://docs.sc.otc.t-systems.com/'
} }
# The name for this set of Sphinx documents. If None, it defaults to # The name for this set of Sphinx documents. If None, it defaults to

View File

@ -148,12 +148,7 @@ def process_repositories(args, service):
context["html_options"] = dict( context["html_options"] = dict(
disable_search=True, disable_search=True,
site_name="Internal Documentation Portal", site_name="Internal Documentation Portal",
logo_url="https://docs-int.sc.otc.t-systems.com", logo_url="https://docs-int.otc-service.com",
)
else:
context["html_options"] = dict(
site_name="Swiss Open Telekom Cloud Docs",
logo_url="https://docs-beta.sc.otc.t-systems.com",
) )
context["doc_environment"] = args.target_environment context["doc_environment"] = args.target_environment
if doc['link']: if doc['link']:
@ -203,12 +198,7 @@ def process_repositories(args, service):
context["html_options"] = dict( context["html_options"] = dict(
disable_search=True, disable_search=True,
site_name="Internal Documentation Portal", site_name="Internal Documentation Portal",
logo_url="https://docs-int.sc.otc.t-systems.com", logo_url="https://docs-int.otc-service.com",
)
else:
context["html_options"] = dict(
site_name="Swiss Open Telekom Cloud Docs",
logo_url="https://docs-beta.sc.otc.t-systems.com",
) )
sbv_title = (service["service_title"] + "\n" sbv_title = (service["service_title"] + "\n"
+ ('=' * len(service["service_title"]))) + ('=' * len(service["service_title"])))