mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3b86dc3e12
* Add integration tests for ansible-doc. * Enable tests that now pass * Cleanup processing of plugin docs * Mostly separate the steps of processing plugin docs 1) Acquire source data 2) Transform and calculate additonal data 3) Format data for output 4) Output data format_plugin_doc() is still mixing transformation and formatting but that should be fixed in a devel-only change * Raise exceptions in _get_plugin_doc() on errors. * Remove check to exclude on blacklisted extensions. We already request only .py files * If there is no DOCUMENTATION entry in the plugin, raise an exception from _get_plugin_doc(). Everywhere we use _get_plugin_doc(), this is treated as an error * If there is no ANSIBLE_METADATA raise an exception as well as displaying of docs assumes that this has been set. * If there is neither DOCUMENTATION nor ANSIBLE_METADATA, warn about the lack of METADATA and error on the lack of DOCUMENTATION. Lack of DOCUMENTATION is more important so it is what the user should see. * Add a few special cases for backwards compat. These should probably be made errors in 2.10: * no docs but has metadata shows no documentation rather than an error * empty plugin file shows no doumentation rather than an error * Simplify backwards compatibility logic. |
5 years ago | |
---|---|---|
.. | ||
cli | 5 years ago | |
compat | 5 years ago | |
config | 5 years ago | |
errors | 6 years ago | |
executor | 5 years ago | |
galaxy | 5 years ago | |
inventory | 5 years ago | |
module_utils | 5 years ago | |
modules | 5 years ago | |
parsing | 5 years ago | |
playbook | 5 years ago | |
plugins | 5 years ago | |
template | 5 years ago | |
utils | 5 years ago | |
vars | 5 years ago | |
__init__.py | ||
constants.py | 5 years ago | |
context.py | 5 years ago | |
release.py | 5 years ago |