mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
include short_description in the module page's title
This commit is contained in:
committed by
Michael DeHaan
parent
8b7327a2f6
commit
84948292f3
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user