Compare commits

..

12 Commits

Author SHA1 Message Date
e4bcb28024 Basepython to 3.11
All checks were successful
gl/check check status: success (e4bcb28024c8a023e56ab0be00a0eccc05811c95)
gl/gate gate status: success (e4bcb28024c8a023e56ab0be00a0eccc05811c95)
2025-02-12 14:13:50 +00:00
f9c18fb99e New service Data Admin Service
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: lboka <ladislav.boka@t-systems.com>
Co-committed-by: lboka <ladislav.boka@t-systems.com>
2025-02-07 13:10:49 +00:00
1063bffd55 Auto copy PDFs to HTML folder for Zuul to upload
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de>
Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
2025-02-07 10:14:06 +00:00
25a089107c Update tox.ini to no interactive latex-mode and only use first image of animated gif
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-committed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
2025-02-04 13:11:50 +00:00
a866e9829d Disable PDF rendering on services without documents
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de>
Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
2025-01-21 08:29:26 +00:00
0a53ed9072 cfw docs
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: lbelejka <lukas.belejkanic@t-systems.com>
Co-committed-by: lbelejka <lukas.belejkanic@t-systems.com>
2025-01-20 12:45:10 +00:00
f26e1f24ca activate that pdf jobs are visible in tox.ini without activating them
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2025-01-17 13:30:25 +00:00
1d365ecc8c activate pdf for CSS service
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2025-01-17 13:28:55 +00:00
1529742878 adding cloud connect service
Reviewed-by: tischrei <tino.schreiber@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2025-01-14 08:27:08 +00:00
381a4e329b Disable PDF rendering for cce, css, evs and mrs
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Sebastian Gode <sebastian.gode@telekom.de>
Co-committed-by: Sebastian Gode <sebastian.gode@telekom.de>
2024-12-19 14:01:03 +00:00
cd0363de2e Add pdf environment switch
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-12-10 14:56:14 +00:00
ef298eb9a3 enable_pdf_1
Reviewed-by: Gode, Sebastian <sebastian.gode@t-systems.com>
Co-authored-by: tischrei <tino.schreiber@t-systems.com>
Co-committed-by: tischrei <tino.schreiber@t-systems.com>
2024-12-10 11:19:04 +00:00
50 changed files with 125 additions and 19 deletions

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -2,6 +2,7 @@
link: /business-dashboard/umn/
rst_location: umn/source
pdf_enabled: false
pdf_environment: hidden
service_type: bd
title: User Guide
type: umn

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -4,6 +4,7 @@ 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

View File

@ -3,6 +3,7 @@ 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

View File

@ -1,6 +1,7 @@
---
link: /cloud-create/api-ref/
pdf_enabled: true
pdf_environment: internal
rst_location: api-ref/source
service_type: cc
title: API Reference

View File

@ -2,6 +2,7 @@
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

View File

@ -2,7 +2,7 @@
hc_location: api2/cce
html_location: docs/cce/api-ref
link: /cloud-container-engine/api-ref/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: api-ref/source
service_type: cce

View File

@ -3,7 +3,7 @@ hc_location: bestpractice/cce
environment: internal
html_location: docs/cce/best-practice
link: /cloud-container-engine/best-practice/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: doc/best-practice/source
service_type: cce

View File

@ -2,7 +2,7 @@
hc_location: usermanual2/cce
html_location: docs/cce/umn
link: /cloud-container-engine/umn/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: umn/source
service_type: cce

View File

@ -0,0 +1,11 @@
---
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

View File

@ -0,0 +1,11 @@
---
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

View File

@ -1,5 +1,4 @@
---
environment: internal
hc_location: api/cfw
html_location: docs/cfw/api-ref
link: /cloud-firewall/api-ref/

View File

@ -1,5 +1,4 @@
---
environment: internal
hc_location: usermanual/cfw
html_location: docs/cfw/umn
link: /cloud-firewall/umn/

View File

@ -0,0 +1,11 @@
---
hc_location: api/das
environment: internal
html_location: docs/das/api-ref
link: /data-admin-service/api-ref/
pdf_enabled: true
pdf_environment: internal
rst_location: api-ref/source
service_type: das
title: API Reference
type: api-ref

View File

@ -0,0 +1,11 @@
---
hc_location: usermanual/das
environment: internal
html_location: docs/das/umn
link: /data-admin-service/umn/
pdf_enabled: true
pdf_environment: internal
rst_location: umn/source
service_type: das
title: User Guide
type: umn

View File

@ -2,7 +2,7 @@
hc_location: api/evs
html_location: docs/evs/api-ref
link: /elastic-volume-service/api-ref/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: api-ref/source
service_type: evs

View File

@ -3,7 +3,7 @@ hc_location: bestpractice/evs
environment: internal
html_location: docs/evs/best-practice
link: /elastic-volume-service/best-practice/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: doc/best-practice/source
service_type: evs

View File

@ -2,7 +2,7 @@
hc_location: devg/evs
html_location: docs/evs/dev
link: /elastic-volume-service/dev-guide/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: dev_guide/source
service_type: evs

View File

@ -2,7 +2,7 @@
hc_location: usermanual/evs
html_location: docs/evs/umn
link: /elastic-volume-service/umn/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: umn/source
service_type: evs

View File

@ -2,7 +2,7 @@
hc_location: api/mrs
html_location: docs/mrs/api-ref
link: /mapreduce-service/api-ref/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: api-ref/source
service_type: mrs

View File

@ -3,7 +3,7 @@ hc_location: bestpractice/mrs
environment: internal
html_location: docs/mrs/best-practice
link: /mapreduce-service/best-practice/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: doc/best-practice/source
service_type: mrs

View File

@ -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: true
pdf_enabled: false
pdf_environment: internal
rst_location: doc/component-operation-guide-lts/source
service_type: mrs

View File

@ -2,7 +2,7 @@
hc_location: cmpntguide/mrs
html_location: docs/mrs/component-operation-guide
link: /mapreduce-service/operation-guide/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: doc/component-operation-guide/source
service_type: mrs

View File

@ -2,7 +2,7 @@
hc_location: usermanual/mrs
html_location: docs/mrs/umn
link: /mapreduce-service/umn/
pdf_enabled: true
pdf_enabled: false
pdf_environment: internal
rst_location: umn/source
service_type: mrs

View File

@ -0,0 +1,16 @@
---
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

View File

@ -1,5 +1,5 @@
---
environment: internal
environment: public
repositories:
- environment: internal
repo: docs/cloud-firewall

View File

@ -0,0 +1,16 @@
---
environment: internal
repositories:
- environment: internal
repo: docs/data-admin-service
type: gitea
- environment: public
repo: opentelekomcloud-docs/data-admin-service
type: github
service_category: database
service_title: Data Admin Service
service_type: das
service_uri: data-admin-service
teams:
- name: docs-database-rw
permission: write

View File

@ -3,8 +3,10 @@ minversion = 3.1
envlist = py39,pep8
skipsdist = True
ignore_basepython_conflict = True
basepython = python3.11
[testenv]
basepython = python3.11
usedevelop = True
install_command = pip install {opts} {packages}
deps =
@ -44,6 +46,7 @@ commands =
{[testenv:json-{{ doc.type }}]commands}
{%- endfor %}
{% if docs|length > 0 %}
[testenv:pdf-docs]
deps =
{[testenv:docs]deps}
@ -57,6 +60,7 @@ 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
@ -67,6 +71,7 @@ commands =
{[testenv:{{ doc.type }}-pdf-docs]commands}
{%- endif %}
{%- endfor %}
{% endif %}
{% for doc in docs -%}
{% set loc = doc.rst_location | replace('/source', '') %}
@ -107,7 +112,6 @@ 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}
@ -121,12 +125,12 @@ commands =
rm -rf {{ loc }}/build/pdf
cp -r {toxinidir}/_templates {{ loc }}/source/_templates/
sphinx-build -W --keep-going -b latex {{ loc }}/source {{ loc }}/build/pdf/
bash -c "for f in {{ loc }}/build/pdf/*.gif; do convert $f $\{f/%gif/png\}; done || true"
bash -c "for f in {{ loc }}/build/pdf/*.gif; do convert $f[0] $\{f/%gif/png\}; done || true"
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 LATEXMKOPTS="-interaction=nonstopmode"
mkdir -p doc/build/pdf
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/pdf/
{% endif %}
cp {{ loc }}/build/pdf/{{ service_type }}-{{ doc.type }}.pdf doc/build/html/
{% endfor %}
[testenv:bindeps]