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
This commit is contained in:
Jan-Piet Mens
2012-11-28 09:39:26 +01:00
committed by Michael DeHaan
parent b8d6dec5ad
commit 17f31a2a79
6 changed files with 346 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ OS = $(shell uname -s)
# directory of the target file ($@), kinda like `dirname`.
ASCII2MAN = a2x -D $(dir $@) -d manpage -f manpage $<
ASCII2HTMLMAN = a2x -D docs/html/man/ -d manpage -f xhtml
MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1
MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1
SITELIB = $(shell python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")