Compare commits
2 Commits
404
...
sbv-update
Author | SHA1 | Date | |
---|---|---|---|
8d27453443 | |||
2105405796 |
13
otc_metadata/data/services/notfound.yaml
Normal file
13
otc_metadata/data/services/notfound.yaml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
environment: hidden
|
||||||
|
repositories:
|
||||||
|
- environment: public
|
||||||
|
repo: opentelekomcloud-docs/page-not-found
|
||||||
|
type: github
|
||||||
|
service_category: other
|
||||||
|
service_title: Page Not Found
|
||||||
|
service_type: pagenotfound
|
||||||
|
service_uri: page-not-found
|
||||||
|
teams:
|
||||||
|
- name: docs-eco-rw
|
||||||
|
permission: write
|
@ -5,3 +5,4 @@
|
|||||||
|
|
||||||
.. service_card::
|
.. service_card::
|
||||||
:service_type: {{ service_type }}
|
:service_type: {{ service_type }}
|
||||||
|
:environment: {{ environment }}
|
||||||
|
@ -201,6 +201,7 @@ def process_repositories(args, service):
|
|||||||
site_name="Internal Documentation Portal",
|
site_name="Internal Documentation Portal",
|
||||||
logo_url="https://docs-int.otc-service.com",
|
logo_url="https://docs-int.otc-service.com",
|
||||||
)
|
)
|
||||||
|
context["environment"] = args.target_environment
|
||||||
sbv_title = (service["service_title"] + "\n"
|
sbv_title = (service["service_title"] + "\n"
|
||||||
+ ('=' * len(service["service_title"])))
|
+ ('=' * len(service["service_title"])))
|
||||||
context["sbv_title"] = sbv_title
|
context["sbv_title"] = sbv_title
|
||||||
|
Reference in New Issue
Block a user