Disable PDF rendering on services without documents
All checks were successful
gl/check check status: success (985b74b0e998c78e11f80df79f6d75ddd122c598)
gl/gate gate status: success (985b74b0e998c78e11f80df79f6d75ddd122c598)

This commit is contained in:
Gode, Sebastian 2025-01-21 08:22:29 +00:00
parent 0a53ed9072
commit 985b74b0e9

View File

@ -44,6 +44,7 @@ commands =
{[testenv:json-{{ doc.type }}]commands} {[testenv:json-{{ doc.type }}]commands}
{%- endfor %} {%- endfor %}
{% if docs|length > 0 %}
[testenv:pdf-docs] [testenv:pdf-docs]
deps = deps =
{[testenv:docs]deps} {[testenv:docs]deps}
@ -67,6 +68,7 @@ commands =
{[testenv:{{ doc.type }}-pdf-docs]commands} {[testenv:{{ doc.type }}-pdf-docs]commands}
{%- endif %} {%- endif %}
{%- endfor %} {%- endfor %}
{% endif %}
{% for doc in docs -%} {% for doc in docs -%}
{% set loc = doc.rst_location | replace('/source', '') %} {% set loc = doc.rst_location | replace('/source', '') %}