{{ log.debug() }} {% if config.show_if_no_docstring or module.has_docstrings %}
{% if show_full_path %}{{ module.path.as_posix() }}{% else %}{{ module.name }}{% endif %}
{% with labels = module.labels %}
{% include "labels.html" with context %}
{% endwith %}
{% endfilter %}
{% else %}
{% if config.show_root_toc_entry %}
{% filter heading(heading_level,
role="module",
id=html_id,
toc_label=module.path.as_posix(),
hidden=True) %}
{% endfilter %}
{% endif %}
{% set heading_level = heading_level - 1 %}
{% endif %}