Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
6f74306bcf |
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
environment: internal
|
||||||
link: /price-calculator/api-ref/
|
link: /price-calculator/api-ref/
|
||||||
pdf_name: pc-api-ref
|
pdf_name: pc-api-ref
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
|
9
otc_metadata/data/documents/rms-api-ref.yaml
Normal file
9
otc_metadata/data/documents/rms-api-ref.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
hc_location: api/rms
|
||||||
|
html_location: docs/rms/api-ref
|
||||||
|
link: /resource-management-service/api-ref/
|
||||||
|
pdf_name: rms-api-ref
|
||||||
|
rst_location: api-ref/source
|
||||||
|
service_type: rms
|
||||||
|
title: API Reference
|
||||||
|
type: api-ref
|
9
otc_metadata/data/documents/rms-umn.yaml
Normal file
9
otc_metadata/data/documents/rms-umn.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
hc_location: usermanual/rms
|
||||||
|
html_location: docs/rms/umn
|
||||||
|
link: /resource-management-service/umn/
|
||||||
|
pdf_name: rms-umn
|
||||||
|
rst_location: umn/source
|
||||||
|
service_type: rms
|
||||||
|
title: User Guide
|
||||||
|
type: umn
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: public
|
environment: hidden
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/price-calculator
|
repo: docs/price-calculator
|
||||||
|
16
otc_metadata/data/services/rms.yaml
Normal file
16
otc_metadata/data/services/rms.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
environment: public
|
||||||
|
repositories:
|
||||||
|
- environment: internal
|
||||||
|
repo: docs/resource-management-service
|
||||||
|
type: gitea
|
||||||
|
- environment: public
|
||||||
|
repo: opentelekomcloud-docs/resource-management-service
|
||||||
|
type: github
|
||||||
|
service_category: md
|
||||||
|
service_title: Resource Management Service
|
||||||
|
service_type: rms
|
||||||
|
service_uri: resource-management-service
|
||||||
|
teams:
|
||||||
|
- name: docs-orchestration-rw
|
||||||
|
permission: write
|
@ -44,7 +44,7 @@ commands =
|
|||||||
{[testenv:json-{{ doc.type }}]commands}
|
{[testenv:json-{{ doc.type }}]commands}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:docs-pdf]
|
||||||
deps =
|
deps =
|
||||||
{[testenv:docs]deps}
|
{[testenv:docs]deps}
|
||||||
{[testenv:bindeps]deps}
|
{[testenv:bindeps]deps}
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
default-branch: main
|
default-branch: main
|
||||||
templates:
|
templates:
|
||||||
- helpcenter-base-jobs
|
- helpcenter-base-jobs
|
||||||
vars:
|
|
||||||
sphinx_pdf_files:
|
|
||||||
{%- for doc in docs %}
|
|
||||||
{%- if doc.pdf_enabled %}
|
|
||||||
- {{ service_type }}-{{ doc.type }}.pdf
|
|
||||||
{%- endif %}
|
|
||||||
{%- endfor %}
|
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- noop
|
- noop
|
||||||
|
@ -299,12 +299,6 @@ def process_repositories(args, service):
|
|||||||
|
|
||||||
if args.update_zuul:
|
if args.update_zuul:
|
||||||
"""Update zuul.yaml"""
|
"""Update zuul.yaml"""
|
||||||
context = dict(docs=[])
|
|
||||||
for doc in service_docs:
|
|
||||||
if doc["type"] == "dev":
|
|
||||||
doc["type"] = "dev-guide"
|
|
||||||
context["docs"].append(doc)
|
|
||||||
context["service_type"] = service['service_type']
|
|
||||||
|
|
||||||
zuul_yaml_content = zuul_yaml_template.render(**context)
|
zuul_yaml_content = zuul_yaml_template.render(**context)
|
||||||
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
|
zuul_yaml_path = pathlib.Path(copy_to, "zuul.yaml")
|
||||||
|
Reference in New Issue
Block a user