{% for namespace in application.namespaces %}
{% if not loop.first %}
{% set last_namespace = namespace %}
{% endif %}
{% if last_namespace is defined %}

  {# Empty new line hack #}
{% endif %}
{% spaceless %}
{% for command in commands[namespace] %}
  * [{{ command.name }}](commands/{{ command.name|replace(':','-') }}.md)
{% endfor %}
{% endspaceless %}
{% endfor %}
