avoids not-in-toc errors with :orphan:

This commit is contained in:
Alicia Cozine 2018-04-23 08:22:44 -05:00 committed by Toshio Kuratomi
parent d38ae9b6c9
commit 0fef3f1b48

View file

@ -1,5 +1,10 @@
:source: @{ source }@
{# avoids rST "isn't included in any toctree" errors for module docs #}
{% if plugin_type == 'module' %}
:orphan:
{% endif %}
.. _@{ module }@_@{ plugin_type }@:
{% for alias in aliases %}
.. _@{ alias }@: