Set environment for SBV internally automatically to internal

This commit is contained in:
Gode, Sebastian 2024-07-16 12:09:11 +00:00
parent 2105405796
commit 8d27453443
2 changed files with 2 additions and 0 deletions

View File

@ -5,3 +5,4 @@
.. service_card::
:service_type: {{ service_type }}
:environment: {{ environment }}

View File

@ -201,6 +201,7 @@ def process_repositories(args, service):
site_name="Internal Documentation Portal",
logo_url="https://docs-int.otc-service.com",
)
context["environment"] = args.target_environment
sbv_title = (service["service_title"] + "\n"
+ ('=' * len(service["service_title"])))
context["sbv_title"] = sbv_title