mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
avoids not-in-toc errors with :orphan:
This commit is contained in:
parent
d38ae9b6c9
commit
0fef3f1b48
1 changed files with 5 additions and 0 deletions
5
docs/templates/plugin.rst.j2
vendored
5
docs/templates/plugin.rst.j2
vendored
|
@ -1,5 +1,10 @@
|
||||||
:source: @{ source }@
|
:source: @{ source }@
|
||||||
|
|
||||||
|
{# avoids rST "isn't included in any toctree" errors for module docs #}
|
||||||
|
{% if plugin_type == 'module' %}
|
||||||
|
:orphan:
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
.. _@{ module }@_@{ plugin_type }@:
|
.. _@{ module }@_@{ plugin_type }@:
|
||||||
{% for alias in aliases %}
|
{% for alias in aliases %}
|
||||||
.. _@{ alias }@:
|
.. _@{ alias }@:
|
||||||
|
|
Loading…
Reference in a new issue