2cbfd1e350
* Add ArgumentSpecValidator to docs * Improve docs for ArgumentSpecValidator * Document removal of private methods * Update module_utils documentation - Add docs for argument spec classes as well as validation and parameters files. - preserve the order in the source for errors.py - document DEFAULT_TYPE_VALIDATORS so it can be referenced elsewhere - fix automodule directive for validation.py * Update docs in arg_spec and paremeters - This improves the generated documentation. * Document breaking changes in porting guide. * Update formatting in porting guide and add a Deprecated section * Fine tune module_utils documentation * Move instance docstring to the __init__ method Remove optional description since it fails the sanity test and I am not 100% it is valid anyway. * Remoe incorrect parameter from docstring This was changed a while ago but wasn't removed from the docstring. * Use attr rather than attribute The py:attribute: domain only exists in newer Sphinx >= 3.1. * Improve documentation on exceptions * Final pass - use args/kwargs instead of param - fix formatting errors that didn't display examples correctly - format TypeErrors so they are referenced as classes - specify complex types |
||
---|---|---|
.. | ||
_extensions | ||
_static | ||
_themes/sphinx_rtd_theme | ||
js/ansible | ||
rst | ||
sphinx_conf | ||
.gitignore | ||
.nojekyll | ||
ansible_2_5.inv | ||
ansible_2_6.inv | ||
ansible_2_7.inv | ||
ansible_2_8.inv | ||
ansible_2_9.inv | ||
ansible_2_10.inv | ||
ansible_3.inv | ||
collection-plugins.yml | ||
jinja2.inv | ||
Makefile | ||
Makefile.sphinx | ||
modules.js | ||
python2.inv | ||
python3.inv | ||
README.md | ||
requirements.txt | ||
variables.dot |
Ansible documentation
This project hosts the source behind the general pages of docs.ansible.com. Module-specific documentation is hosted in the various collections repositories. See Ansible Galaxy, the list of Ansible-maintained collections, and the ansible-collections organization for collections sources.
To create clear, concise, and consistent contributions to Ansible documentation, please refer to the following information.
Contributions
Contributions to the documentation are welcome.
The Ansible community produces guidance on contributions, building documentation, and submitting pull requests, which you can find in Contributing to the Ansible Documentation.
You can also join the Docs Working Group and/or the #ansible-docs
channel on freenode IRC.
Ansible style guide
Ansible documentation is written in ReStructuredText(RST). The Ansible style guide provides linguistic direction and technical guidelines for working with reStructuredText, in addition to other resources.
Tools
The Ansible community uses a range of tools and programs for working with Ansible documentation. Learn more about Other Tools and Programs in the Ansible Community Guide.
GitHub
Ansible documentation is hosted on the Ansible GitHub project and various collection repositories, especially those in the ansible-collections organization. For general GitHub workflows and other information, see the GitHub Guides.