{{ log.debug() }} {% if config.show_if_no_docstring or procedure.has_docstrings %}
{% with html_id = module.procedure_anchor(procedure=procedure, show_if_no_docstring=config.show_if_no_docstring) %} {% if not root or config.show_root_heading %} {% filter heading(heading_level, role="procedure", id=html_id, class="doc doc-heading", toc_label=procedure.signature.name ~ "()") %} {% if config.separate_signature %} {{ procedure.signature.render(show_arguments=False, line_length=none) }} {% else %} {% filter highlight(language="vba", inline=True) %} {% include "signature.html" with context %} {% endfilter %} {% endif %} {% with labels = procedure.labels %} {% include "labels.html" with context %} {% endwith %} {% endfilter %} {% if config.separate_signature and config.show_signature %} {{ procedure.signature.render(show_arguments=True, line_length=config.line_length)|highlight(language="vba", inline=False, dedent=False) }} {% endif %} {% else %} {% if config.show_root_toc_entry %} {% filter heading(heading_level, role="procedure", id=html_id, toc_label=procedure.signature.name, hidden=True) %} {% endfilter %} {% endif %} {% set heading_level = heading_level - 1 %} {% endif %}
{% with docstring_sections = procedure.docstring.parsed %} {% include "docstring.html" with context %} {% endwith %} {% if config.show_source and procedure.source %}
Source code {{ "\n".join(procedure.source)|highlight(language="vba", linestart=procedure.first_line, linenums=True, dedent=False) }}
{% endif %}
{% endwith %}
{% endif %}