Compare commits
6 Commits
confix-fix
...
mkp-fix
Author | SHA1 | Date | |
---|---|---|---|
1c8702427b | |||
a9ae65958d | |||
3ae8e7a8be | |||
9746bb1892 | |||
2105405796 | |||
98dc53c075 |
@ -4,7 +4,7 @@ hc_location: api/rms
|
|||||||
html_location: docs/config/api-ref
|
html_location: docs/config/api-ref
|
||||||
link: /config/api-ref/
|
link: /config/api-ref/
|
||||||
pdf_name: config-api-ref
|
pdf_name: config-api-ref
|
||||||
rst_location: config/source
|
rst_location: api-ref/source
|
||||||
service_type: config
|
service_type: config
|
||||||
title: API Reference
|
title: API Reference
|
||||||
type: api-ref
|
type: api-ref
|
||||||
|
@ -7,5 +7,4 @@ rst_location: umn/source
|
|||||||
service_type: mkp
|
service_type: mkp
|
||||||
title: User Guide
|
title: User Guide
|
||||||
type: umn
|
type: umn
|
||||||
environment: internal
|
|
||||||
disable_import: true
|
disable_import: true
|
@ -8,7 +8,7 @@ repositories:
|
|||||||
repo: opentelekomcloud-docs/anti-ddos
|
repo: opentelekomcloud-docs/anti-ddos
|
||||||
type: github
|
type: github
|
||||||
service_category: security-services
|
service_category: security-services
|
||||||
service_title: Anti DDoS
|
service_title: Anti-DDoS
|
||||||
service_type: antiddos
|
service_type: antiddos
|
||||||
service_uri: anti-ddos
|
service_uri: anti-ddos
|
||||||
teams:
|
teams:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: internal
|
environment: public
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/marketplace
|
repo: docs/marketplace
|
||||||
|
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