Compare commits
8 Commits
archive-ed
...
enable_pdf
Author | SHA1 | Date | |
---|---|---|---|
4d742c8995 | |||
919d54f8d3 | |||
016b67221c | |||
a7ee45b3d8 | |||
c0a83341f4 | |||
f9076808e2 | |||
e3ce9a281f | |||
2884d277b5 |
9
otc_metadata/data/documents/dbss-api-ref.yaml
Normal file
9
otc_metadata/data/documents/dbss-api-ref.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
hc_location: api/dbss
|
||||||
|
html_location: docs/dbss/api-ref
|
||||||
|
link: /database-security-service/api-ref/
|
||||||
|
pdf_enabled: true
|
||||||
|
rst_location: api-ref/source
|
||||||
|
service_type: dbss
|
||||||
|
title: API Reference
|
||||||
|
type: api-ref
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dbss
|
hc_location: usermanual/dbss
|
||||||
html_location: docs/dbss/umn
|
html_location: docs/dbss/umn
|
||||||
link: /database-security-service/umn/
|
link: /database-security-service/umn/
|
||||||
pdf_name: dbss-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dbss
|
service_type: dbss
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dc
|
hc_location: api/dc
|
||||||
html_location: docs/dc/api-ref
|
html_location: docs/dc/api-ref
|
||||||
link: /direct-connect/api-ref/
|
link: /direct-connect/api-ref/
|
||||||
pdf_name: dc-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dc
|
service_type: dc
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/dc
|
|||||||
environment: internal
|
environment: internal
|
||||||
html_location: docs/dc/best-practice
|
html_location: docs/dc/best-practice
|
||||||
link: /direct-connect/best-practice/
|
link: /direct-connect/best-practice/
|
||||||
pdf_name: dc-best-practice
|
pdf_enabled: true
|
||||||
rst_location: doc/best-practice/source
|
rst_location: doc/best-practice/source
|
||||||
service_type: dc
|
service_type: dc
|
||||||
title: Best Practice
|
title: Best Practice
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dc
|
hc_location: usermanual/dc
|
||||||
html_location: docs/dc/umn
|
html_location: docs/dc/umn
|
||||||
link: /direct-connect/umn/
|
link: /direct-connect/umn/
|
||||||
pdf_name: dc-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dc
|
service_type: dc
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dcs
|
hc_location: api/dcs
|
||||||
html_location: docs/dcs/api-ref
|
html_location: docs/dcs/api-ref
|
||||||
link: /distributed-cache-service/api-ref/
|
link: /distributed-cache-service/api-ref/
|
||||||
pdf_name: dcs-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dcs
|
service_type: dcs
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/dcs
|
|||||||
environment: internal
|
environment: internal
|
||||||
html_location: docs/dcs/best-practice
|
html_location: docs/dcs/best-practice
|
||||||
link: /distributed-cache-service/best-practice/
|
link: /distributed-cache-service/best-practice/
|
||||||
pdf_name: dcs-best-practice
|
pdf_enabled: true
|
||||||
rst_location: doc/best-practice/source
|
rst_location: doc/best-practice/source
|
||||||
service_type: dcs
|
service_type: dcs
|
||||||
title: Best Practice
|
title: Best Practice
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dcs
|
hc_location: usermanual/dcs
|
||||||
html_location: docs/dcs/umn
|
html_location: docs/dcs/umn
|
||||||
link: /distributed-cache-service/umn/
|
link: /distributed-cache-service/umn/
|
||||||
pdf_name: dcs-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dcs
|
service_type: dcs
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -3,7 +3,7 @@ hc_location: api/ddm
|
|||||||
environment: public
|
environment: public
|
||||||
html_location: docs/ddm/api-ref
|
html_location: docs/ddm/api-ref
|
||||||
link: /distributed-database-middleware/api-ref/
|
link: /distributed-database-middleware/api-ref/
|
||||||
pdf_name: ddm-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: ddm
|
service_type: ddm
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: usermanual/ddm
|
|||||||
environment: public
|
environment: public
|
||||||
html_location: docs/ddm/umn
|
html_location: docs/ddm/umn
|
||||||
link: /distributed-database-middleware/umn/
|
link: /distributed-database-middleware/umn/
|
||||||
pdf_name: ddm-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: ddm
|
service_type: ddm
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
hc_location: api/dds
|
hc_location: api/dds
|
||||||
html_location: docs/dds/api-ref
|
html_location: docs/dds/api-ref
|
||||||
link: /document-database-service/api-ref/
|
link: /document-database-service/api-ref/
|
||||||
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dds
|
service_type: dds
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/dds
|
|||||||
environment: internal
|
environment: internal
|
||||||
html_location: docs/dds/best-practice
|
html_location: docs/dds/best-practice
|
||||||
link: /document-database-service/best-practice/
|
link: /document-database-service/best-practice/
|
||||||
pdf_name: dds-best-practice
|
pdf_enabled: true
|
||||||
rst_location: doc/best-practice/source
|
rst_location: doc/best-practice/source
|
||||||
service_type: dds
|
service_type: dds
|
||||||
title: Best Practice
|
title: Best Practice
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dds
|
hc_location: usermanual/dds
|
||||||
html_location: docs/dds/umn
|
html_location: docs/dds/umn
|
||||||
link: /document-database-service/umn/
|
link: /document-database-service/umn/
|
||||||
pdf_name: dds-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dds
|
service_type: dds
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/deh
|
hc_location: api/deh
|
||||||
html_location: docs/deh/api-ref
|
html_location: docs/deh/api-ref
|
||||||
link: /dedicated-host/api-ref/
|
link: /dedicated-host/api-ref/
|
||||||
pdf_name: deh-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: deh
|
service_type: deh
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/deh
|
hc_location: usermanual/deh
|
||||||
html_location: docs/deh/umn
|
html_location: docs/deh/umn
|
||||||
link: /dedicated-host/umn/
|
link: /dedicated-host/umn/
|
||||||
pdf_name: deh-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: deh
|
service_type: deh
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dis
|
hc_location: api/dis
|
||||||
html_location: docs/dis/api-ref
|
html_location: docs/dis/api-ref
|
||||||
link: /data-ingestion-service/api-ref/
|
link: /data-ingestion-service/api-ref/
|
||||||
pdf_name: dis-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dis
|
service_type: dis
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dis
|
hc_location: usermanual/dis
|
||||||
html_location: docs/dis/umn
|
html_location: docs/dis/umn
|
||||||
link: /data-ingestion-service/umn/
|
link: /data-ingestion-service/umn/
|
||||||
pdf_name: dis-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dis
|
service_type: dis
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dli
|
hc_location: api/dli
|
||||||
html_location: docs/dli/api-ref
|
html_location: docs/dli/api-ref
|
||||||
link: /data-lake-insight/api-ref/
|
link: /data-lake-insight/api-ref/
|
||||||
pdf_name: dli-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dli
|
service_type: dli
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: devg/dli
|
hc_location: devg/dli
|
||||||
html_location: docs/dli/dev
|
html_location: docs/dli/dev
|
||||||
link: /data-lake-insight/dev-guide/
|
link: /data-lake-insight/dev-guide/
|
||||||
pdf_name: dli-dev-guide
|
pdf_enabled: true
|
||||||
rst_location: dev_guide/source
|
rst_location: dev_guide/source
|
||||||
service_type: dli
|
service_type: dli
|
||||||
title: Developer Guide
|
title: Developer Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: sqlreference/dli
|
hc_location: sqlreference/dli
|
||||||
html_location: docs/dli/sqlreference
|
html_location: docs/dli/sqlreference
|
||||||
link: /data-lake-insight/sqlreference/
|
link: /data-lake-insight/sqlreference/
|
||||||
pdf_name: dli-sqlreference
|
pdf_enabled: true
|
||||||
rst_location: doc/sqlreference/source
|
rst_location: doc/sqlreference/source
|
||||||
service_type: dli
|
service_type: dli
|
||||||
title: Sql Syntax Reference
|
title: Sql Syntax Reference
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dli
|
hc_location: usermanual/dli
|
||||||
html_location: docs/dli/umn
|
html_location: docs/dli/umn
|
||||||
link: /data-lake-insight/umn/
|
link: /data-lake-insight/umn/
|
||||||
pdf_name: dli-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dli
|
service_type: dli
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dms
|
hc_location: api/dms
|
||||||
html_location: docs/dms/api-ref
|
html_location: docs/dms/api-ref
|
||||||
link: /distributed-message-service/api-ref/
|
link: /distributed-message-service/api-ref/
|
||||||
pdf_name: dms-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dms
|
service_type: dms
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/dms
|
|||||||
environment: internal
|
environment: internal
|
||||||
html_location: docs/dms/best-practice
|
html_location: docs/dms/best-practice
|
||||||
link: /distributed-message-service/best-practice/
|
link: /distributed-message-service/best-practice/
|
||||||
pdf_name: dms-best-practice
|
pdf_enabled: true
|
||||||
rst_location: doc/best-practice/source
|
rst_location: doc/best-practice/source
|
||||||
service_type: dms
|
service_type: dms
|
||||||
title: Best Practice
|
title: Best Practice
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: devg/dms
|
hc_location: devg/dms
|
||||||
html_location: docs/dms/dev
|
html_location: docs/dms/dev
|
||||||
link: /distributed-message-service/dev-guide/
|
link: /distributed-message-service/dev-guide/
|
||||||
pdf_name: dms-dev-guide
|
pdf_enabled: true
|
||||||
rst_location: dev_guide/source
|
rst_location: dev_guide/source
|
||||||
service_type: dms
|
service_type: dms
|
||||||
title: Developer Guide
|
title: Developer Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dms
|
hc_location: usermanual/dms
|
||||||
html_location: docs/dms/umn
|
html_location: docs/dms/umn
|
||||||
link: /distributed-message-service/umn/
|
link: /distributed-message-service/umn/
|
||||||
pdf_name: dms-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dms
|
service_type: dms
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/dns
|
hc_location: api/dns
|
||||||
html_location: docs/dns/api-ref
|
html_location: docs/dns/api-ref
|
||||||
link: /domain-name-service/api-ref/
|
link: /domain-name-service/api-ref/
|
||||||
pdf_name: dns-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: dns
|
service_type: dns
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/dns
|
|||||||
environment: internal
|
environment: internal
|
||||||
html_location: docs/dns/best-practice
|
html_location: docs/dns/best-practice
|
||||||
link: /domain-name-service/best-practice/
|
link: /domain-name-service/best-practice/
|
||||||
pdf_name: dns-best-practice
|
pdf_enabled: true
|
||||||
rst_location: doc/best-practice/source
|
rst_location: doc/best-practice/source
|
||||||
service_type: dns
|
service_type: dns
|
||||||
title: Best Practice
|
title: Best Practice
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/dns
|
hc_location: usermanual/dns
|
||||||
html_location: docs/dns/umn
|
html_location: docs/dns/umn
|
||||||
link: /domain-name-service/umn/
|
link: /domain-name-service/umn/
|
||||||
pdf_name: dns-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: dns
|
service_type: dns
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: api/nosql
|
hc_location: api/nosql
|
||||||
html_location: docs/geminidb/api-ref
|
html_location: docs/geminidb/api-ref
|
||||||
link: /geminidb/api-ref/
|
link: /geminidb/api-ref/
|
||||||
pdf_name: geminidb-api-ref
|
pdf_enabled: true
|
||||||
rst_location: api-ref/source
|
rst_location: api-ref/source
|
||||||
service_type: geminidb
|
service_type: geminidb
|
||||||
title: API Reference
|
title: API Reference
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
hc_location: usermanual/nosql
|
hc_location: usermanual/nosql
|
||||||
html_location: docs/geminidb/umn
|
html_location: docs/geminidb/umn
|
||||||
link: /geminidb/umn/
|
link: /geminidb/umn/
|
||||||
pdf_name: geminidb-umn
|
pdf_enabled: true
|
||||||
rst_location: umn/source
|
rst_location: umn/source
|
||||||
service_type: geminidb
|
service_type: geminidb
|
||||||
title: User Guide
|
title: User Guide
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
---
|
---
|
||||||
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
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -1,9 +0,0 @@
|
|||||||
---
|
|
||||||
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,9 +1,6 @@
|
|||||||
---
|
---
|
||||||
environment: public
|
environment: public
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
|
||||||
repo: docs/enterprise-dashboard
|
|
||||||
type: gitea
|
|
||||||
- environment: public
|
- environment: public
|
||||||
repo: opentelekomcloud-docs/enterprise-dashboard
|
repo: opentelekomcloud-docs/enterprise-dashboard
|
||||||
type: github
|
type: github
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
environment: hidden
|
environment: public
|
||||||
repositories:
|
repositories:
|
||||||
- environment: internal
|
- environment: internal
|
||||||
repo: docs/price-calculator
|
repo: docs/price-calculator
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -126,9 +126,9 @@ html_copy_source = False
|
|||||||
|
|
||||||
# -- Options for PDF output --------------------------------------------------
|
# -- Options for PDF output --------------------------------------------------
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
{%- if pdf_name is defined %}
|
{%- if doc_type %}
|
||||||
('index',
|
('index',
|
||||||
'{{ pdf_name }}.tex',
|
'{{ service_type }}-{{ doc_type }}.tex',
|
||||||
u'{{ title }}',
|
u'{{ title }}',
|
||||||
u'OpenTelekomCloud', 'manual'),
|
u'OpenTelekomCloud', 'manual'),
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
@ -44,7 +44,7 @@ commands =
|
|||||||
{[testenv:json-{{ doc.type }}]commands}
|
{[testenv:json-{{ doc.type }}]commands}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|
||||||
[testenv:docs-pdf]
|
[testenv:pdf-docs]
|
||||||
deps =
|
deps =
|
||||||
{[testenv:docs]deps}
|
{[testenv:docs]deps}
|
||||||
{[testenv:bindeps]deps}
|
{[testenv:bindeps]deps}
|
||||||
@ -63,7 +63,7 @@ commands =
|
|||||||
wget -O {toxinidir}/_templates/tabular.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabular.tex.jinja
|
wget -O {toxinidir}/_templates/tabular.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabular.tex.jinja
|
||||||
wget -O {toxinidir}/_templates/tabulary.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabulary.tex.jinja
|
wget -O {toxinidir}/_templates/tabulary.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/tabulary.tex.jinja
|
||||||
{%- for doc in docs %}
|
{%- for doc in docs %}
|
||||||
{%- if doc.pdf_name %}
|
{%- if doc.pdf_enabled %}
|
||||||
{[testenv:{{ doc.type }}-pdf-docs]commands}
|
{[testenv:{{ doc.type }}-pdf-docs]commands}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
@ -107,7 +107,7 @@ commands =
|
|||||||
cp -av doc/build/json/{{ doc.type }} {{ doc.type }}/build/json
|
cp -av doc/build/json/{{ doc.type }} {{ doc.type }}/build/json
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
{% if doc.pdf_name -%}
|
{% if doc.pdf_enabled -%}
|
||||||
# PDF version
|
# PDF version
|
||||||
[testenv:{{ doc.type }}-pdf-docs]
|
[testenv:{{ doc.type }}-pdf-docs]
|
||||||
deps = {[testenv:docs]deps}
|
deps = {[testenv:docs]deps}
|
||||||
@ -125,7 +125,7 @@ commands =
|
|||||||
bash -c "for f in {{ loc }}/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
|
bash -c "for f in {{ loc }}/build/pdf/*.tex; do sed -iorig 's/\.gif//g' $f; done"
|
||||||
make -C {{ loc }}/build/pdf
|
make -C {{ loc }}/build/pdf
|
||||||
mkdir -p doc/build/pdf
|
mkdir -p doc/build/pdf
|
||||||
cp {{ loc }}/build/pdf/{{ doc.pdf_name }}.pdf doc/build/pdf/
|
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
@ -4,6 +4,13 @@
|
|||||||
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
|
||||||
|
@ -276,6 +276,7 @@ def process_repositories(args, service):
|
|||||||
context["docs"].append(doc)
|
context["docs"].append(doc)
|
||||||
|
|
||||||
context["target_environment"] = args.target_environment
|
context["target_environment"] = args.target_environment
|
||||||
|
context["service_type"] = service['service_type']
|
||||||
|
|
||||||
tox_ini_content = tox_ini_template.render(**context)
|
tox_ini_content = tox_ini_template.render(**context)
|
||||||
tox_ini_path = pathlib.Path(copy_to, "tox.ini")
|
tox_ini_path = pathlib.Path(copy_to, "tox.ini")
|
||||||
@ -299,6 +300,12 @@ 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