ansible/docs/docsite
Sam Doran 2cbfd1e350
Add porting guide and documentation for changes to argument spec validation (#74268)
* 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
2021-04-20 15:40:53 -04:00
..
_extensions More boilerplate fixes. (#70224) 2020-06-22 19:05:30 -07:00
_static Change look and feel of the ansible-core docs (#74200) 2021-04-12 16:39:13 -04:00
_themes/sphinx_rtd_theme Fix issue with version 3 in docs version list (#74089) 2021-04-19 18:33:35 +02:00
js/ansible
rst Add porting guide and documentation for changes to argument spec validation (#74268) 2021-04-20 15:40:53 -04:00
sphinx_conf updates list of available versions for Ansible 3 (#74265) 2021-04-13 16:59:36 -04:00
.gitignore fix rstcheck problem and gitignore collections dir (#70764) 2020-07-21 15:59:56 -05:00
.nojekyll
ansible_2_5.inv updates intersphinx references for docs links (#71921) 2020-09-25 10:33:29 -05:00
ansible_2_6.inv updates intersphinx references for docs links (#71921) 2020-09-25 10:33:29 -05:00
ansible_2_7.inv updates intersphinx references for docs links (#71921) 2020-09-25 10:33:29 -05:00
ansible_2_8.inv update intersphinx links for Ansible 3 2021-04-12 14:53:11 -07:00
ansible_2_9.inv update intersphinx links for Ansible 3 2021-04-12 14:53:11 -07:00
ansible_2_10.inv update intersphinx links for Ansible 3 2021-04-12 14:53:11 -07:00
ansible_3.inv update intersphinx links for Ansible 3 2021-04-12 14:53:11 -07:00
collection-plugins.yml Collections docs generation (#59761) 2020-07-17 13:07:35 -07:00
jinja2.inv Intersphinx (#68090) 2020-03-06 14:16:35 -08:00
Makefile Rebased pr73824 (#73934) 2021-03-17 16:07:38 -04:00
Makefile.sphinx Documentation: Lay the ground for i18n work. (#73746) 2021-03-05 09:31:56 -08:00
modules.js
python2.inv
python3.inv update intersphinx links for Ansible 3 2021-04-12 14:53:11 -07:00
README.md Adds FAQ and other pointers for collections (#71606) 2020-09-09 13:16:26 -04:00
requirements.txt pin docutils to 0.16 until theme problem is fixed (#74193) 2021-04-08 13:37:00 -05:00
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.