mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
documentation: man template: support empty options; add Version to Makefile
This commit is contained in:
parent
13e8ef5f35
commit
61ee632d23
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -161,4 +161,4 @@ deb: debian
|
||||||
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
# for arch or gentoo, read instructions in the appropriate 'packaging' subdirectory directory
|
||||||
|
|
||||||
manpages:
|
manpages:
|
||||||
hacking/module_formatter.py -t man -o docs/man/man1/ --module-dir=library --template-dir=hacking/templates
|
hacking/module_formatter.py -A $(VERSION) -t man -o docs/man/man1/ --module-dir=library --template-dir=hacking/templates
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
." ------ OPTIONS
|
." ------ OPTIONS
|
||||||
."
|
."
|
||||||
."
|
."
|
||||||
{% if options is defined -%}
|
{% if options -%}
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
{% for (k,v) in options.iteritems() %}
|
{% for (k,v) in options.iteritems() %}
|
||||||
.IP @{ k }@
|
.IP @{ k }@
|
||||||
|
|
Loading…
Reference in a new issue