Compare commits
4 Commits
documentat
...
main
Author | SHA1 | Date | |
---|---|---|---|
f6b9d03ef7 | |||
af1a08de5f | |||
11ba8bf8ce | |||
9f0fa5bc11 |
@ -8,10 +8,10 @@ title: Permissions
|
||||
type: permissions
|
||||
cloud_environments:
|
||||
- name: eu_de
|
||||
visibility: internal
|
||||
visibility: public
|
||||
pdf_visibility: public
|
||||
pdf_enabled: true
|
||||
- name: swiss
|
||||
visibility: internal
|
||||
visibility: public
|
||||
pdf_visibility: public
|
||||
pdf_enabled: true
|
13
otc_metadata/data/documents/ucs-api-ref.yaml
Normal file
13
otc_metadata/data/documents/ucs-api-ref.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
hc_location: api/ucs
|
||||
html_location: docs/ucs/api-ref
|
||||
link: /ubiquitous-cloud-native-service/api-ref/
|
||||
rst_location: api-ref/source
|
||||
service_type: ucs
|
||||
title: API Reference
|
||||
type: api-ref
|
||||
cloud_environments:
|
||||
- name: eu_de
|
||||
visibility: internal
|
||||
pdf_visibility: internal
|
||||
pdf_enabled: true
|
13
otc_metadata/data/documents/ucs-umn.yaml
Normal file
13
otc_metadata/data/documents/ucs-umn.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
hc_location: usermanual/ucs
|
||||
html_location: docs/ucs/umn
|
||||
link: /ubiquitous-cloud-native-service/umn/
|
||||
rst_location: umn/source
|
||||
service_type: ucs
|
||||
title: User Guide
|
||||
type: umn
|
||||
cloud_environments:
|
||||
- name: eu_de
|
||||
visibility: internal
|
||||
pdf_visibility: internal
|
||||
pdf_enabled: true
|
13
otc_metadata/data/repositories/ucs.yaml
Normal file
13
otc_metadata/data/repositories/ucs.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
service_type: ucs
|
||||
repositories:
|
||||
- environment: public
|
||||
repo: opentelekomcloud-docs/ubiquitous-cloud-native-service
|
||||
type: github
|
||||
cloud_environments:
|
||||
- eu_de
|
||||
- environment: internal
|
||||
repo: docs/ubiquitous-cloud-native-service
|
||||
type: gitea
|
||||
cloud_environments:
|
||||
- eu_de
|
12
otc_metadata/data/services/ucs.yaml
Normal file
12
otc_metadata/data/services/ucs.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
is_global: false
|
||||
service_category: container
|
||||
service_title: Ubiquitous Cloud Native Service
|
||||
service_type: ucs
|
||||
service_uri: ubiquitous-cloud-native-service
|
||||
cloud_environments:
|
||||
- name: eu_de
|
||||
visibility: internal
|
||||
teams:
|
||||
- name: docs-container-rw
|
||||
permission: write
|
@ -47,6 +47,7 @@ otcdocs_doc_type = '{{ doc_type }}'
|
||||
otcdocs_service_category = '{{ service_category }}'
|
||||
otcdocs_service_title = '{{ service_title }}'
|
||||
otcdocs_service_type = '{{ service_type }}'
|
||||
otcdocs_service_environment = '{{ service_environment }}'
|
||||
otcdocs_cloud_environment = '{{ otcdocs_cloud_environment }}'
|
||||
otcdocs_search_environment = '{{ otcdocs_search_environment }}'
|
||||
otcdocs_search_index = '{{ otcdocs_search_index }}'
|
||||
|
@ -215,6 +215,7 @@ def process_repositories(args, service):
|
||||
context["service_category"] = service['service_category']
|
||||
context["service_title"] = service['service_title']
|
||||
context["service_type"] = service['service_type']
|
||||
context["service_environment"] = args.target_environment
|
||||
context["otcdocs_cloud_environment"] = args.cloud_environment
|
||||
|
||||
conf_py_content = conf_py_template.render(**context)
|
||||
@ -276,6 +277,7 @@ def process_repositories(args, service):
|
||||
context["otcdocs_search_index"] = "search_index_de"
|
||||
context["environment"] = args.target_environment
|
||||
context["otcdocs_cloud_environment"] = args.cloud_environment
|
||||
context["service_environment"] = args.target_environment
|
||||
sbv_title = (service["service_title"] + "\n"
|
||||
+ ('=' * len(service["service_title"])))
|
||||
context["sbv_title"] = sbv_title
|
||||
|
Reference in New Issue
Block a user