Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting of namespaces and class overview #63

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mkdoxy/templates/classes.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% for letter, children in dictionary.items() %}
## {{letter}}

{% for node in children -%}
{% for node in children|sort(attribute='name_short') -%}
* [**{{node.name_short}}**]({{node.url}})
{% if node.parent.is_language -%}
([**{{node.parent.name_long}}**]({{node.parent.url}}))
Expand Down
14 changes: 7 additions & 7 deletions mkdoxy/templates/modules.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

{% if nodes|length > 0 %}
Here is a list of all modules:
{% for node in nodes recursive %}
{% if node.is_group %}
* [**{{node.title}}**]({{node.url}}) {{node.brief}}
{% if node.has_children %}
{{- loop(node.children)|indent(4, true) }}
{% endif %}
{% endif -%}
{% for node in nodes|sort(attribute='title') recursive %}
{% if node.is_group %}
* [**{{node.title}}**]({{node.url}}) {{node.brief}}
{% if node.has_children %}
{{- loop(node.children)|indent(4, true) }}
{% endif %}
{% endif -%}
{% endfor %}
{% else %}
No modules found.
Expand Down