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.
ansible/docs/docsite/rst
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.
8 years ago
..
dev_guide Stricter module documentation validation (#22353) 8 years ago
modules consolidated docs 8 years ago
roadmap Update ROADMAP_2_3.rst 8 years ago
YAMLSyntax.rst Add some additional value quoting examples (#20464) 8 years ago
become.rst become options dont qualify as new anymore 8 years ago
committer_guidelines.rst consolidated docs 8 years ago
common_return_values.rst Don't mix deprecations messages with warnings messages (#21337) 8 years ago
community.rst Update dead support link (#22212) 8 years ago
conf.py PEP 8 indent cleanup. (#20800) 8 years ago
faq.rst Fix Passlib example in FAQ (#21997) 8 years ago
galaxy.rst Add role skeleton support (#17079) 8 years ago
glossary.rst consolidated docs 8 years ago
guide_aws.rst Added example of referring to AWS-credentials (#21560) 8 years ago
guide_azure.rst consolidated docs 8 years ago
guide_cloudstack.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
guide_docker.rst consolidated docs 8 years ago
guide_gce.rst consolidated docs 8 years ago
guide_rax.rst consolidated docs 8 years ago
guide_rolling_upgrade.rst Use HTTPS instead of legacy HTTP for ansible.com (#16870) 8 years ago
guide_vagrant.rst consolidated docs 8 years ago
guides.rst consolidated docs 8 years ago
index.rst consolidated docs 8 years ago
intro.rst consolidated docs 8 years ago
intro_adhoc.rst consolidated docs 8 years ago
intro_bsd.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
intro_configuration.rst Clarified when control_path is ignored (#20968) 8 years ago
intro_dynamic_inventory.rst Fix docs re inventory_ignore_extensions config (#21132) 8 years ago
intro_getting_started.rst Add document about connecting to localhost (#20534) 8 years ago
intro_installation.rst Move to using a requirements.txt to install the python packages. (#21430) 8 years ago
intro_inventory.rst fixed ungrouped definition 8 years ago
intro_networking.rst Delete link to test-network-modules (#21347) 8 years ago
intro_patterns.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
intro_windows.rst ansible_winrm_kerberos_delegation (#22113) 8 years ago
modules.rst Doc module meta (#20093) 8 years ago
modules_intro.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
modules_support.rst Updated wording around support for different modules 8 years ago
playbooks.rst Doc fixes (#20353) 8 years ago
playbooks_acceleration.rst consolidated docs 8 years ago
playbooks_advanced_syntax.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
playbooks_async.rst consolidated docs 8 years ago
playbooks_best_practices.rst Update playbooks_best_practices.rst (#21288) 8 years ago
playbooks_blocks.rst added clarification on directives/blocks 8 years ago
playbooks_checkmode.rst consolidated docs 8 years ago
playbooks_conditionals.rst service state typo 8 years ago
playbooks_debugger.rst Fix all RST errors for docs/docsite/rst (#20005) 8 years ago
playbooks_delegation.rst consolidated docs 8 years ago
playbooks_environment.rst consolidated docs 8 years ago
playbooks_error_handling.rst fixed phrasing on 0 being non error 8 years ago
playbooks_filters.rst more set/list stuff 8 years ago
playbooks_filters_ipaddr.rst Doc fixes (#20353) 8 years ago
playbooks_intro.rst doc: Document --syntax-check flag for ansible-playbook (#22256) 8 years ago
playbooks_lookups.rst Fix Docs build issues (#22295) 8 years ago
playbooks_loops.rst Standardizing syntax for 'Playbook Loops' documentation (#20863) 8 years ago
playbooks_prompts.rst Update references to Passlib as homepage/docsite moved (#20082) 8 years ago
playbooks_roles.rst Use HTTPS instead of legacy HTTP for ansible.com (#16870) 8 years ago
playbooks_special_topics.rst consolidated docs 8 years ago
playbooks_startnstep.rst consolidated docs 8 years ago
playbooks_strategies.rst consolidated docs 8 years ago
playbooks_tags.rst clarified tag usage 8 years ago
playbooks_templating.rst corrected which app adds plugins 8 years ago
playbooks_tests.rst Doc fixes (#20353) 8 years ago
playbooks_variables.rst Fix variable precedence of INI/script vars to be in-line with docs. 8 years ago
playbooks_vault.rst added docs for vault and made trigger shorter: !vault (#20985) 8 years ago
porting_guide_2.0.rst Some more code-block fixes 8 years ago
python_3_support.rst consolidated docs 8 years ago
quickstart.rst consolidated docs 8 years ago
test_strategies.rst consolidated docs 8 years ago
tower.rst Use HTTPS instead of legacy HTTP for ansible.com (#16870) 8 years ago