Ton Kersten
39bbe36fc7
Ignore compiled Python for documentation.
...
When running `ansible-doc --list` a lot of errors are
generated when `ansible-doc` tries to find documentation
strings in `.pyc` files.
10 years ago
Michael DeHaan
b0295af7ee
Merge pull request #7462 from chamill/devel
...
Add spaces between sentences in formatted docs.
10 years ago
Michael DeHaan
5a2fd5c612
Ignore powershell implementation files with ansible-doc as documentation lives in Python stubs.
10 years ago
C. Morgan Hamill
43b72f2a80
Add spaces between sentences in formatted docs.
...
Increases readability when using `ansible-doc`.
10 years ago
Michael Leer
37318ca095
include default options. #7938
...
amend ansible-doc to include default options as per feature request #7938
11 years ago
Stefhen Hovland
e1b7278265
Only display equals sign in summary for required options.
11 years ago
Stefhen Hovland
30cabddf76
Ensure option output is sorted.
11 years ago
James Tanner
91e5569324
Merge pull request #4466 from sfromm/ansible
...
Add pager support to ansible-doc
11 years ago
Stoned Elipot
c7217a8f1b
Fix 'ansible-doc -l' runtime error following commit 4430d0f
...
skip "module" not found as plugin, id est directory
11 years ago
Stephen Fromm
79d6d344d8
Add pager support to ansible-doc
...
If PAGER is set, or the executable less is present, ansible-doc will use
it to pipe information into so that it can be scrolled through.
If the environment variable LESS is not set, this will set it to FRSX.
11 years ago
Stoned Elipot
d25888f410
Fix empty requirements specifications in modules documentation
...
And also be liberal in what ansible-doc accepts as an empty
requirements specification.
While here fix a typo in template module documentation
wrt jinja2 overrides example.
12 years ago
Jan-Piet Mens
eeb80c695f
Add Requirements to rst template, ansible-doc
...
tweak position & look of Requirements in rst
tweak APT's notes as per anhj's wish
12 years ago
Jan-Piet Mens
2f76bc9e47
ansible-doc: skip directories (new library/ format)
12 years ago
Michael DeHaan
e6bf01a6b0
Make plugin loader path operations more efficient.
12 years ago
Jan-Piet Mens
396a07bcc7
Add support for additional EXAMPLES string in Ansible modules
...
return DOC and EXAMPLES as a list
add moduledev explanation
more
12 years ago
Michael DeHaan
c4779d95b8
Removing unused import, 'make pyflakes' is now clean.
12 years ago
Michael DeHaan
5c38248788
Fix crontab doc formatting
12 years ago
Michael DeHaan
25f52d79d1
Tweak sysctl docs so they'll web-render
12 years ago
Michael DeHaan
36066d8664
Fixup ec2_facts docs parsing
12 years ago
Jan-Piet Mens
52a55a3575
cleanup Example output in ansible-doc
12 years ago
Jan-Piet Mens
e913fb8732
print Notes heading only if there are any
12 years ago
Jan-Piet Mens
77e060250c
CLI: ansible-doc rebased
12 years ago
Jan-Piet Mens
17f31a2a79
CLI: ansible-doc shows lists of modules & module docs on command-line
...
check path is directory
added manpage & setup
small cleanup
shut up module_formatter in utils to avoid trace print on crud files in library
12 years ago