Disable PDF rendering on services without documents
This commit is contained in:
parent
0a53ed9072
commit
985b74b0e9
@ -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', '') %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user