mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 }@:
|
||||||
|
|
||||||
@{ 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…
Reference in a new issue