Disable PDF rendering on services without documents #290

Merged
zuul merged 1 commits from disable_pdf_rae into main 2025-01-21 08:29:26 +00:00

View File

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