summaryrefslogtreecommitdiff
path: root/lib/ansible/utils/module_docs.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to the documentation build (#15356)Toshio Kuratomi2016-04-111-3/+5
| | | | | | | | | | | | | | | | * Could only have one alias before. Subsequent aliases overrode the previous ones. Now multiple aliases work. * Fix BLACKLISTED_MODULES. Previously, modules were listed in the generated documentation despite being blacklisted * Deprecated modules form extras were showing the (E) tag and not the (D) tag. Reversed that now (Probably not necessary to also show the E tag). * Sort the deprecated modules alphabetically in the Category docs as well as the list of all modules * Optimization: Previously rendered the modules to rst twice once in all group and once in individual categories. Fixed to only render them once. * Add fireball to blacklist and remove async_status (as people need to use that).
* Changes to convert to unicode at the bordersToshio Kuratomi2016-01-281-3/+3
| | | | | | | | | | | | The module docs and vault changes solve issues where tracebacks can happen. The galaxy changes are mostly refactoring to be more pythonic with a small chance that a unicode traceback could have occurred there without the changes. The change in __init__.py when we actually call the pager makes things more robust but could hide places where we had bytes coming in already so I didn't want to change that without auditing where the text was coming from. Fixes #14178
* Fix unsupported format characterThilo Uttendorfer2015-12-311-1/+1
|
* Add python3-compat boilerplate to all .py files in lib/ansibleToshio Kuratomi2015-10-191-0/+4
|
* galaxy updatesBrian Coca2015-10-051-0/+2
| | | | | | | | | | | | | better error reporting on fetching errors use scm if it exists over src unified functions in requirements simplified logic added verbose to tests cleanup code refs, unused options and dead code moved get_opt to base class fixes #11920 fixes #12612 fixes #10454
* Support print as a functionMarius Gedminas2015-08-271-0/+0
| | | | | | | | I neglected the __future__ import because print(one_thing) works the same way even when print is a statement.
* ported module_docs to use displayBrian Coca2015-08-271-4/+10
|
* optimized module docsBrian Coca2015-07-271-48/+54
|
* fragments can now be a listBrian Coca2015-07-141-9/+11
|
* added missing imports to doc moduleBrian Coca2015-06-031-1/+1
|
* Import missing MutableMapping classMatt Martz2015-06-031-0/+1
|
* Merge branch 'v2_final' into devel_switch_v2James Cammarata2015-05-281-4/+2
|\ | | | | | | | | | | | | | | Conflicts: lib/ansible/inventory/__init__.py lib/ansible/modules/core lib/ansible/utils/__init__.py lib/ansible/utils/module_docs.py
| * Making the switch to v2James Cammarata2015-05-031-2/+2
| |
* | Fix extending non-dict types from doc fragmentsToshio Kuratomi2015-05-041-1/+10
|/
* ansible-doc now shows return value docsBrian Coca2015-02-191-1/+5
|
* Resolve option conflict differently.Michael DeHaan2014-08-051-3/+1
|
* (A) Fix a bug in the doc generator that was clobbering the force parameter ↵Michael DeHaan2014-08-051-1/+3
| | | | | | | for the copy module. (B) This is a work in progress but the idea is to have text snippets where we can respond to tickets with a bit more helpful info. Not active just yet.
* Fixes #6894 add missing file and remove debug lineJames Tanner2014-04-081-1/+0
|
* Fixes #6894 create docs fragment for filesJames Tanner2014-04-081-1/+1
|
* Use common file argument system previously implemented by @sivel for rax ↵Michael DeHaan2014-04-031-2/+11
| | | | | | modules on the file modules as well (copy/file/template). Application to other cloud providers would make very good sense.
* Use PluginLoader for module docs fragmentsMatt Martz2014-04-031-6/+19
|
* Add support for shared module documentation fragmentsMatt Martz2014-04-031-0/+20
|
* Don't need to document these guys.Michael DeHaan2014-01-021-1/+1
|
* fixed x-bits in gittrbs2013-06-161-0/+0
|
* Some formatting fixes so docs will build, etc.Michael DeHaan2013-05-291-0/+1
|
* more places to use yaml.safe_loadMichael DeHaan2013-02-231-1/+1
|
* Add support for additional EXAMPLES string in Ansible modulesJan-Piet Mens2013-02-181-3/+9
| | | | | | return DOC and EXAMPLES as a list add moduledev explanation more
* Fixup ec2_facts docs parsingMichael DeHaan2013-01-261-1/+0
|
* CLI: ansible-doc shows lists of modules & module docs on command-lineJan-Piet Mens2012-11-301-2/+3
| | | | | | | check path is directory added manpage & setup small cleanup shut up module_formatter in utils to avoid trace print on crud files in library
* Move get_docstring from module_formatter into ansible/utilsJan-Piet Mens2012-11-091-0/+50