forked from infra/otc-metadata
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>
This commit is contained in:
parent
0a53ed9072
commit
a866e9829d
@ -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', '') %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user