Compare commits

..

1 Commits

Author SHA1 Message Date
41c9873f0b removing RMS service from OTC
Some checks are pending
gl/gate gate status: success (41c9873f0ba2a8fc12853eab61afdcaa64780e63)
gl/check check status: pending (41c9873f0ba2a8fc12853eab61afdcaa64780e63)
2024-11-25 14:54:12 +00:00
5 changed files with 3 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

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

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")