{%- if show_headings %} {{- [basename, ".py"] | join('') | e | heading }} {% endif -%} .. automodule:: {{ qualname }} {%- for option in automodule_options %} :{{ option }}: {%- endfor %}