include short_description in the module page's title
This commit is contained in:
parent
8b7327a2f6
commit
84948292f3
1 changed files with 10 additions and 2 deletions
|
@ -1,7 +1,15 @@
|
|||
.. _@{ 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 %}
|
||||
:Author: @{ author }@
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue