Compare commits
4 Commits
search_ind
...
change_dat
Author | SHA1 | Date | |
---|---|---|---|
099265dbc9 | |||
96ffbc1403 | |||
ca8c5fb34c | |||
a6a001cdba |
@ -1,3 +1,3 @@
|
|||||||
---
|
---
|
||||||
name: database
|
name: database
|
||||||
title: Database
|
title: Databases
|
||||||
|
@ -46,6 +46,7 @@ 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,
|
||||||
|
@ -148,7 +148,12 @@ 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.otc-service.com",
|
logo_url="https://docs-int.sc.otc.t-systems.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']:
|
||||||
@ -198,7 +203,12 @@ 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.otc-service.com",
|
logo_url="https://docs-int.sc.otc.t-systems.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"])))
|
||||||
|
Reference in New Issue
Block a user