Compare commits

..

3 Commits

Author SHA1 Message Date
284535a4cf change site name
All checks were successful
gl/check check status: success (284535a4cf7a24983864504f84ebf27f0f51d2bb)
gl/gate gate status: success (284535a4cf7a24983864504f84ebf27f0f51d2bb)
2023-09-06 07:35:06 +00:00
6872b75aec remove slash from url
All checks were successful
gl/check check status: success (6872b75aec8897def7fa4b2b7818a0067743cfa7)
2023-08-21 13:26:45 +00:00
bba796a824 change the base_url accordingly
All checks were successful
gl/check check status: success (bba796a8246f1fc1b11728a5c090743983f49b3b)
2023-08-21 12:53:03 +00:00
3 changed files with 1 additions and 11 deletions

View File

@ -46,7 +46,6 @@ otcdocs_service_category = '{{ service_category }}'
otcdocs_service_title = '{{ service_title }}'
otcdocs_service_type = '{{ service_type }}'
otcdocs_search_environment = 'hc_swiss'
otcdocs_search_index = 'search_index_swiss'
otcdocs_search_url = "https://opensearch.eco.tsi-dev.otc-service.com/"
# If extensions (or modules to document with autodoc) are in another directory,

View File

@ -1,11 +1,5 @@
sphinx>=2.0.0,!=2.1.0 # BSD
{% if target_environment == 'public' %}
otcdocstheme<1.0.0 # Apache-2.0
{% elif target_environment == 'internal' %}
otcdocstheme # Apache-2.0
{% else %}
otcdocstheme # Apache-2.0
{% endif %}
# releasenotes
reno>=3.1.0 # Apache-2.0

View File

@ -207,7 +207,7 @@ def process_repositories(args, service):
)
else:
context["html_options"] = dict(
site_name="Swiss Open Telekom Cloud Docs",
site_name="Open Telekom Cloud Swiss Documentation Portal",
logo_url="https://docs-beta.sc.otc.t-systems.com",
)
sbv_title = (service["service_title"] + "\n"
@ -247,8 +247,6 @@ def process_repositories(args, service):
doc["type"] = "dev-guide"
context["docs"].append(doc)
context["target_environment"] = args.target_environment
tox_ini_content = tox_ini_template.render(**context)
tox_ini_path = pathlib.Path(copy_to, "tox.ini")
doc_requirements_content = doc_requirements_template.render(**context)
@ -325,7 +323,6 @@ def main():
parser.add_argument(
"--target-environment",
required=True,
choices=["internal", "public"],
help="Environment to be used as a source",
)
parser.add_argument("--service-type", help="Service to update")