Commit Graph

16 Commits (3b2a35ae004f4902eefe3aa12a1d2b746649e592)

Author SHA1 Message Date
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