include short_description in the module page's title

pull/5430/merge
Mikhail Sobolev 11 years ago committed by Michael DeHaan
parent 8b7327a2f6
commit 84948292f3

@ -1,7 +1,15 @@
.. _@{ module }@: .. _@{ module }@:
@{ module }@ {% if short_description %}
++++++++++++++++++++++++++++++++++++++ {% set title = module + ' - ' + short_description|convert_symbols_to_format %}
{% else %}
{% set title = module %}
{% endif %}
{% set title_len = title|length %}
@{ title }@
@{ '+' * title_len }@
{% if author %} {% if author %}
:Author: @{ author }@ :Author: @{ author }@
{% endif %} {% endif %}

Loading…
Cancel
Save