mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
module_formatter: .rst now correctly handles code examples
- fixed template (it was the template), adding indentation with Jinja2 - added description of code examples to man-page template (was missing) - fixed fireball, cron, and debug module examples to confrom
This commit is contained in:
parent
556799a7c4
commit
575459465e
5 changed files with 12 additions and 7 deletions
|
@ -46,6 +46,10 @@
|
|||
.SH EXAMPLES
|
||||
{% for e in examples %}
|
||||
.PP
|
||||
{% if e['description'] %}
|
||||
@{ e['description'] | jpfunc }@
|
||||
{% endif %}
|
||||
|
||||
.nf
|
||||
@{ e['code'] }@
|
||||
.fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue