Compare commits

..

5 Commits

Author SHA1 Message Date
4236619c49 Auto copy PDFs to HTML folder for Zuul to upload
All checks were successful
gl/check check status: success (4236619c49592e08dd0eac126be857a7a644b3b8)
gl/gate gate status: success (4236619c49592e08dd0eac126be857a7a644b3b8)
2025-02-07 10:03:10 +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
7 changed files with 8 additions and 6 deletions

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

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

View File

@ -2,7 +2,7 @@
hc_location: bestpractice/css
html_location: docs/css/best-practice
link: /cloud-search-service/best-practice/
pdf_enabled: false
pdf_enabled: true
pdf_environment: internal
rst_location: doc/best-practice/source
service_type: css

View File

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

View File

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

View File

@ -44,6 +44,7 @@ commands =
{[testenv:json-{{ doc.type }}]commands}
{%- endfor %}
{% if docs|length > 0 %}
[testenv:pdf-docs]
deps =
{[testenv:docs]deps}
@ -57,6 +58,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 +69,7 @@ commands =
{[testenv:{{ doc.type }}-pdf-docs]commands}
{%- endif %}
{%- endfor %}
{% endif %}
{% for doc in docs -%}
{% set loc = doc.rst_location | replace('/source', '') %}
@ -125,6 +128,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/
{% endfor %}
[testenv:bindeps]