1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docs/docsite/rst/dev_guide
John R Barker 04e816e13b Stricter module documentation validation (#22353)
Raise the bar for module `DOCUMENTAION`
This validator update was used to find the issues in https://github.com/ansible/ansible/pull/22297/files

**Validation**
* Updated Validation and docs to enforce more (items fixed in https://github.com/ansible/ansible/pull/22297/files)
* Use `suboptions` to document complex options 
* Validate module name
* Validate deprecated modules have correct ANSIBLE_METADATA

**Module Documentation Generation**
* Document `suboptions:` Example https://gist.github.com/gundalow/4bdc3669d696268328ccc18528cc6718
* Tidy up HTML generation (valid HTML, no empty lists, etc)
 
**Documentation**
* Clarify the steps for deprecating a module
* Use correct RST headings
* Document `suboptions:` (options)
* Document `contains:` (returns)


**Details**
The aim is to get this (and corresponding module updates) complete by the time `devel` becomes `2.4`, as this allows us to raise the bar for new modules

Example `suboptions` https://gist.github.com/gundalow/4bdc3669d696268328ccc18528cc6718

The aim is to get this PR integrated into `devel` *before* we branch `stable-2.3`, this will allows us to:
* Raise the bar for new modules in 2.4
* Ensure the generated module documentation for 2.3 and higher is improved, important as we will be doing versioned docs moving forward.
2017-03-13 19:49:27 +00:00
..
conf.py PEP 8 indent cleanup. (#20800) 2017-01-29 07:28:53 +00:00
developing_api.rst Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00
developing_core.rst consolidated docs 2017-01-06 09:16:59 -05:00
developing_inventory.rst Use HTTPS instead of legacy HTTP for ansible.com (#16870) 2017-02-15 16:09:33 -08:00
developing_module_utilities.rst New Module : aos_ip_pool as part of network/aos (#21044) 2017-02-09 22:22:56 +00:00
developing_modules.rst Fix Docs build issues (#22295) 2017-03-05 11:41:29 +00:00
developing_modules_best_practices.rst Refurbish developing modules content - stage 1 (#20673) 2017-01-27 14:03:26 -08:00
developing_modules_checklist.rst Stricter module documentation validation (#22353) 2017-03-13 19:49:27 +00:00
developing_modules_documenting.rst Stricter module documentation validation (#22353) 2017-03-13 19:49:27 +00:00
developing_modules_general.rst Fix bug in 'Building A Simple Module' doc (#22447) 2017-03-10 08:43:45 -05:00
developing_modules_in_groups.rst Fix Docs build issues (#22295) 2017-03-05 11:41:29 +00:00
developing_modules_python3.rst consolidated docs 2017-01-06 09:16:59 -05:00
developing_plugins.rst Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00
developing_program_flow_modules.rst Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00
developing_rebasing.rst consolidated docs 2017-01-06 09:16:59 -05:00
developing_releases.rst Use HTTPS instead of legacy HTTP for ansible.com (#16870) 2017-02-15 16:09:33 -08:00
developing_test_pr.rst Fix code-blocks to use correct syntax highlighting 2017-01-08 09:18:45 -08:00
index.rst Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00
Makefile consolidated docs 2017-01-06 09:16:59 -05:00
overview_architecture.rst consolidated docs 2017-01-06 09:16:59 -05:00
repomerge.rst Fix all RST errors for docs/docsite/rst (#20005) 2017-01-07 11:38:52 -08:00