avoids not-in-toc errors with :orphan:

(cherry picked from commit 0fef3f1b48)
pull/39192/head
Alicia Cozine 8 years ago committed by Toshio Kuratomi
parent cd7042857c
commit 628492f8b3

@ -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 }@:

Loading…
Cancel
Save