Compare commits
3 Commits
add_pdf_co
...
enable_pdf
Author | SHA1 | Date | |
---|---|---|---|
795b7a83de | |||
5ad14a65ea | |||
e311115502 |
@ -3,7 +3,6 @@ hc_location: api/antiddos
|
||||
html_location: docs/antiddos/api-ref
|
||||
link: /anti-ddos/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: antiddos
|
||||
title: API Reference
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/antiddos
|
||||
html_location: docs/antiddos/umn
|
||||
link: /anti-ddos/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: antiddos
|
||||
title: User Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: api/aom
|
||||
html_location: docs/aom/api-ref
|
||||
link: /application-operations-management/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: aom
|
||||
title: API Reference
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/aom
|
||||
html_location: docs/aom/umn
|
||||
link: /application-operations-management/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: aom
|
||||
title: User Guide
|
||||
|
@ -4,7 +4,6 @@ hc_location: api/aom2
|
||||
html_location: docs/aom2/api-ref
|
||||
link: /application-operations-management-2/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: aom2
|
||||
title: API Reference
|
||||
|
@ -4,7 +4,6 @@ hc_location: usermanual/aom2
|
||||
html_location: docs/aom2/umn
|
||||
link: /application-operations-management-2/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: aom2
|
||||
title: User Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: api/apig
|
||||
html_location: docs/apig/api-ref
|
||||
link: /api-gateway/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: apig
|
||||
title: API Reference
|
||||
|
@ -4,7 +4,6 @@ hc_location: devg/apig
|
||||
html_location: docs/apig/dev
|
||||
link: /api-gateway/dev-guide/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: dev_guide/source
|
||||
service_type: apig
|
||||
title: Developer Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/apig
|
||||
html_location: docs/apig/umn
|
||||
link: /api-gateway/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: apig
|
||||
title: User Guide
|
||||
|
@ -4,7 +4,6 @@ hc_location: api-usage/guidelines
|
||||
html_location: docs/apiu/guidelines
|
||||
link: /api-usage/guidelines/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/guidelines/source
|
||||
service_type: apiu
|
||||
title: API Usage Guidelines
|
||||
|
@ -4,7 +4,6 @@ hc_location: api/apm
|
||||
html_location: docs/apm/api-ref
|
||||
link: /application-performance-management/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: apm
|
||||
title: API Reference
|
||||
|
@ -4,7 +4,6 @@ hc_location: usermanual/apm
|
||||
html_location: docs/apm/umn
|
||||
link: /application-performance-management/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: apm
|
||||
title: User Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: api/as
|
||||
html_location: docs/as/api-ref
|
||||
link: /auto-scaling/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: as
|
||||
title: API Reference
|
||||
|
@ -3,7 +3,6 @@ hc_location: devg/as
|
||||
html_location: docs/as/dev
|
||||
link: /auto-scaling/dev-guide/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: dev_guide/source
|
||||
service_type: as
|
||||
title: Developer Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/as
|
||||
html_location: docs/as/umn
|
||||
link: /auto-scaling/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: as
|
||||
title: User Guide
|
||||
|
@ -4,7 +4,6 @@ hc_location: api/asm
|
||||
html_location: docs/asm/api-ref
|
||||
link: /application-service-mesh/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: asm
|
||||
title: API Reference
|
||||
|
@ -4,7 +4,6 @@ environment: internal
|
||||
html_location: docs/asm/best-practice
|
||||
link: /application-service-mesh/best-practice/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/best-practice/source
|
||||
service_type: asm
|
||||
title: Best Practice
|
||||
|
@ -4,7 +4,6 @@ hc_location: usermanual/asm
|
||||
html_location: docs/asm/umn
|
||||
link: /application-service-mesh/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: asm
|
||||
title: User Guide
|
||||
|
@ -2,7 +2,6 @@
|
||||
link: /business-dashboard/umn/
|
||||
rst_location: umn/source
|
||||
pdf_enabled: false
|
||||
pdf_environment: hidden
|
||||
service_type: bd
|
||||
title: User Guide
|
||||
type: umn
|
||||
|
@ -3,7 +3,6 @@ hc_location: api/bms
|
||||
html_location: docs/bms/api-ref
|
||||
link: /bare-metal-server/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: bms
|
||||
title: API Reference
|
||||
|
@ -3,7 +3,6 @@ hc_location: devg/bms
|
||||
html_location: docs/bms/dev
|
||||
link: /bare-metal-server/dev-guide/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: dev_guide/source
|
||||
service_type: bms
|
||||
title: Developer Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: bpicg/bms
|
||||
html_location: docs/bms/image-creation-guide
|
||||
link: /bare-metal-server/image-creation-guide/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/image-creation-guide/source
|
||||
service_type: bms
|
||||
title: Private Image Creation Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/bms
|
||||
html_location: docs/bms/umn
|
||||
link: /bare-metal-server/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: bms
|
||||
title: User Guide
|
||||
|
@ -3,7 +3,6 @@ hc_location: api/cbr
|
||||
html_location: docs/cbr/api-ref
|
||||
link: /cloud-backup-recovery/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: cbr
|
||||
title: API Reference
|
||||
|
@ -4,7 +4,6 @@ environment: internal
|
||||
html_location: docs/cbr/best-practice
|
||||
link: /cloud-backup-recovery/best-practice/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/best-practice/source
|
||||
service_type: cbr
|
||||
title: Best Practice
|
||||
|
@ -3,7 +3,6 @@ hc_location: usermanual/cbr
|
||||
html_location: docs/cbr/umn
|
||||
link: /cloud-backup-recovery/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: cbr
|
||||
title: User Guide
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
link: /cloud-create/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: cc
|
||||
title: API Reference
|
||||
|
@ -2,7 +2,6 @@
|
||||
html_location: docs/cc/umn
|
||||
link: /cloud-create/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: cc
|
||||
title: User Guide
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: api2/cce
|
||||
html_location: docs/cce/api-ref
|
||||
link: /cloud-container-engine/api-ref/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: cce
|
||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/cce
|
||||
environment: internal
|
||||
html_location: docs/cce/best-practice
|
||||
link: /cloud-container-engine/best-practice/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/best-practice/source
|
||||
service_type: cce
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: usermanual2/cce
|
||||
html_location: docs/cce/umn
|
||||
link: /cloud-container-engine/umn/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: cce
|
||||
|
@ -1,11 +0,0 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: api/cc
|
||||
html_location: docs/ccn/api-ref
|
||||
link: /cloud-connect/api-ref/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: ccn
|
||||
title: API Reference
|
||||
type: api-ref
|
@ -1,11 +0,0 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: usermanual/cc
|
||||
html_location: docs/ccn/umn
|
||||
link: /cloud-connect/umn/
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: ccn
|
||||
title: User Guide
|
||||
type: umn
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: api/cfw
|
||||
html_location: docs/cfw/api-ref
|
||||
link: /cloud-firewall/api-ref/
|
||||
|
@ -1,4 +1,5 @@
|
||||
---
|
||||
environment: internal
|
||||
hc_location: usermanual/cfw
|
||||
html_location: docs/cfw/umn
|
||||
link: /cloud-firewall/umn/
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: api/evs
|
||||
html_location: docs/evs/api-ref
|
||||
link: /elastic-volume-service/api-ref/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: evs
|
||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/evs
|
||||
environment: internal
|
||||
html_location: docs/evs/best-practice
|
||||
link: /elastic-volume-service/best-practice/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/best-practice/source
|
||||
service_type: evs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: devg/evs
|
||||
html_location: docs/evs/dev
|
||||
link: /elastic-volume-service/dev-guide/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: dev_guide/source
|
||||
service_type: evs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: usermanual/evs
|
||||
html_location: docs/evs/umn
|
||||
link: /elastic-volume-service/umn/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: evs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: api/mrs
|
||||
html_location: docs/mrs/api-ref
|
||||
link: /mapreduce-service/api-ref/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: api-ref/source
|
||||
service_type: mrs
|
||||
|
@ -3,7 +3,7 @@ hc_location: bestpractice/mrs
|
||||
environment: internal
|
||||
html_location: docs/mrs/best-practice
|
||||
link: /mapreduce-service/best-practice/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/best-practice/source
|
||||
service_type: mrs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: cmpntguide-lts/mrs
|
||||
html_location: docs/mrs/component-operation-guide-lts
|
||||
link: /mapreduce-service/operation-guide-lts/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/component-operation-guide-lts/source
|
||||
service_type: mrs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: cmpntguide/mrs
|
||||
html_location: docs/mrs/component-operation-guide
|
||||
link: /mapreduce-service/operation-guide/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: doc/component-operation-guide/source
|
||||
service_type: mrs
|
||||
|
@ -2,7 +2,7 @@
|
||||
hc_location: usermanual/mrs
|
||||
html_location: docs/mrs/umn
|
||||
link: /mapreduce-service/umn/
|
||||
pdf_enabled: false
|
||||
pdf_enabled: true
|
||||
pdf_environment: internal
|
||||
rst_location: umn/source
|
||||
service_type: mrs
|
||||
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
environment: internal
|
||||
repositories:
|
||||
- environment: internal
|
||||
repo: docs/cloud-connect
|
||||
type: gitea
|
||||
- environment: public
|
||||
repo: opentelekomcloud-docs/cloud-connect
|
||||
type: github
|
||||
service_category: network
|
||||
service_title: Cloud Connect
|
||||
service_type: ccn
|
||||
service_uri: cloud-connect
|
||||
teams:
|
||||
- name: docs-network-rw
|
||||
permission: write
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
environment: public
|
||||
environment: internal
|
||||
repositories:
|
||||
- environment: internal
|
||||
repo: docs/cloud-firewall
|
||||
|
@ -44,7 +44,6 @@ commands =
|
||||
{[testenv:json-{{ doc.type }}]commands}
|
||||
{%- endfor %}
|
||||
|
||||
{% if docs|length > 0 %}
|
||||
[testenv:pdf-docs]
|
||||
deps =
|
||||
{[testenv:docs]deps}
|
||||
@ -58,7 +57,6 @@ allowlist_externals =
|
||||
cp
|
||||
commands =
|
||||
mkdir -p doc/build/pdf
|
||||
mkdir -p doc/build/html
|
||||
{[testenv:bindeps]commands}
|
||||
mkdir -p {toxinidir}/_templates
|
||||
wget -O {toxinidir}/_templates/longtable.tex.jinja https://gitea.eco.tsi-dev.otc-service.com/infra/docs-templates/raw/branch/main/templates/longtable.tex.jinja
|
||||
@ -69,7 +67,6 @@ commands =
|
||||
{[testenv:{{ doc.type }}-pdf-docs]commands}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% for doc in docs -%}
|
||||
{% set loc = doc.rst_location | replace('/source', '') %}
|
||||
@ -110,6 +107,7 @@ commands =
|
||||
cp -av doc/build/json/{{ doc.type }} {{ doc.type }}/build/json
|
||||
{%- endif %}
|
||||
|
||||
{% if doc.pdf_enabled -%}
|
||||
# PDF version
|
||||
[testenv:{{ doc.type }}-pdf-docs]
|
||||
deps = {[testenv:docs]deps}
|
||||
@ -128,7 +126,7 @@ commands =
|
||||
make -C {{ loc }}/build/pdf
|
||||
mkdir -p doc/build/pdf
|
||||
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
|
||||
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
[testenv:bindeps]
|
||||
|
Reference in New Issue
Block a user