ansible/lib/ansible/parsing
Brian Coca b2381cfac9 fixes to ansible-doc (#47209)
* Adoc fixes (#47137)
* removed hardcoded loader/plugins list
* updated a few errors to keep orig object
* fix httpapi/cliconf listing
* ansible-doc fixes
* show undocumented as UNDOCUMENTEd
* added missing undoc

(cherry picked from commit fce9673ac1)

* An earlier optimization of ansible-doc -l caused failures. (#47012)
The optimization quickly searches the plugin code for short_description
fields and then uses that in the -l output.  The searching was a bit too
naive and ended up pulling out malformed yaml.  This caused those
plugins to be omitted from the list of plugins of that type with
a warning that their documentation strings were wrong.

This change makes the documentation parser aware that the documentation
string could have a relative indent for all of its fields which makes it
robust in the face of this particular problem.

* Don't search for space after short_description:

Any whitespace would be valid.  In particular newline

(cherry picked from commit 61ae6424a3)
2018-10-17 11:40:02 -05:00
..
utils Remove use of simplejson throughout code base (#43548) 2018-08-10 11:13:29 -05:00
vault Clean up Vault docs in User Guide. (#46188) (#46270) 2018-09-28 10:42:46 -05:00
yaml Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
__init__.py
ajson.py [stable-2.7] Support nested JSON decoding in AnsibleJSONDecoder (#45924) 2018-10-09 10:55:16 -07:00
dataloader.py Fix wrong python keyword (followup to #36357) (#41067) 2018-06-07 19:48:07 +05:30
metadata.py
mod_args.py
plugin_docs.py fixes to ansible-doc (#47209) 2018-10-17 11:40:02 -05:00
quoting.py
splitter.py