Compare commits

..

1 Commits

Author SHA1 Message Date
6f74306bcf add api-ref for dbss
All checks were successful
gl/check check status: success (6f74306bcf8a52d7f69f617b5ab43409dcfd9501)
gl/gate gate status: success (6f74306bcf8a52d7f69f617b5ab43409dcfd9501)
2024-11-21 11:38:47 +00:00
8 changed files with 37 additions and 15 deletions

View File

@ -1,4 +1,5 @@
---
environment: internal
link: /price-calculator/api-ref/
pdf_name: pc-api-ref
rst_location: api-ref/source

View 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

View 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

View File

@ -1,5 +1,5 @@
---
environment: public
environment: hidden
repositories:
- environment: internal
repo: docs/price-calculator

View 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

View File

@ -44,7 +44,7 @@ commands =
{[testenv:json-{{ doc.type }}]commands}
{%- endfor %}
[testenv:pdf-docs]
[testenv:docs-pdf]
deps =
{[testenv:docs]deps}
{[testenv:bindeps]deps}

View File

@ -4,13 +4,6 @@
default-branch: main
templates:
- helpcenter-base-jobs
vars:
sphinx_pdf_files:
{%- for doc in docs %}
{%- if doc.pdf_enabled %}
- {{ service_type }}-{{ doc.type }}.pdf
{%- endif %}
{%- endfor %}
check:
jobs:
- noop

View File

@ -299,12 +299,6 @@ def process_repositories(args, service):
if args.update_zuul:
"""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_path = pathlib.Path(copy_to, "zuul.yaml")