ansible/docs/templates/modules_by_category.rst.j2

18 lines
345 B
Text
Raw Normal View History

.. _modules_by_category:
{# avoids rST "isn't included in any toctree" errors for module index docs #}
:orphan:
Module Index
============
.. toctree:: :maxdepth: 1
{% for name in categories %}
{# strip out empty category names as a result flattening the dir structure #}
{% if name %}
list_of_@{ name }@_modules
{% endif %}
{% endfor %}