Browse Source

Ne pas écrire de path vide en config s’il n’y a pas de répertoire de doc

master
Matthieu Marcillaud 9 months ago
parent
commit
359614264a
  1. 2
      templates/phpdoc.xml.twig

2
templates/phpdoc.xml.twig

@ -35,12 +35,14 @@
<marker>FIXME</marker>
</markers>
</api>
{% if package.rst_directory %}
<guide format="rst">
<source dsn="{{ directory.input }}">
<path>{{ package.rst_directory }}</path>
</source>
<output>guide</output>
</guide>
{% endif %}
</version>
<setting name="package.prefix" value="{{ package.prefix }}"/>

Loading…
Cancel
Save