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 a23c95023b
Module deprecation: docs, scheme and tests (#34100)
Enforce module deprecation.
After module has reached the end of it's deprecation cycle we will replace it with a docs stub.

* Replace deprecated modules with docs-only sub
* Use of deprecated past deprecation cycle gives meaningful message (see examples below)
* Enforce documentation.deprecation dict via `schema.py`
* Update `ansible-doc` and web docs to display documentation.deprecation
* Document that structure in `dev_guide`
* Ensure that all modules starting with `_` have a `deprecation:` block
* Ensure `deprecation:` block is only used on modules that start with `_`
* `removed_in` A string which represents when this module needs **deleting**
* CHANGELOG.md and porting_guide_2.5.rst list removed modules as well as alternatives
* CHANGELOG.md links to porting guide index

To ensure that meaningful messages are given to the user if they try to use a module at the end of it's deprecation cycle we enforce the module to contain:
```python
if __name__ == '__main__':
    removed_module()
```
2018-01-30 12:23:52 +00:00
..
style_guide remove erroneous '.' in docsite footer (#34592) 2018-01-08 22:36:47 -08:00
testing Added code-smell check to verify filenames are allowed with Windows (#35436) 2018-01-29 13:46:02 -08:00
developing_api.rst Update developing_api.rst to use correct inventory format for single explicit host (#34919) 2018-01-16 09:57:11 -06:00
developing_core.rst consolidated docs 2017-01-06 09:16:59 -05:00
developing_inventory.rst Give example of empty _meta in dyanmic inventory (#24085) 2017-06-15 09:51:34 -05:00
developing_module_utilities.rst Mellanox OS name change: MLNXOS changed to ONYX (#34753) 2018-01-11 22:21:17 +00:00
developing_modules.rst Add docs describing some additional behaviors around modules (#33631) 2017-12-07 15:31:26 -05:00
developing_modules_best_practices.rst Temporary (#31677) 2018-01-15 21:15:04 -08:00
developing_modules_checklist.rst Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
developing_modules_documenting.rst Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
developing_modules_general.rst add prequisites for ubuntu dev env (#30713) 2017-11-27 14:58:13 -05:00
developing_modules_general_OLD._rst rename dev..general_OLD.rst to ._rst (#30291) 2017-09-14 11:23:36 -04:00
developing_modules_general_windows.rst windows dev docs - vagrant info (#33515) 2017-12-12 08:16:22 +10:00
developing_modules_in_groups.rst Fix various RST warnings (#34084) 2017-12-20 15:20:05 +00:00
developing_plugins.rst Change 'connection' to 'inventory' in description 2017-10-25 16:25:19 -04:00
developing_program_flow_modules.rst Fix typo in dev_guide/developing_program_flow_modules 2017-10-02 16:10:45 -04:00
developing_python3.rst Misc docsite fixes (#30290) 2017-09-14 11:17:56 -04:00
developing_rebasing.rst consolidated docs 2017-01-06 09:16:59 -05:00
index.rst Misc docsite fixes (#30290) 2017-09-14 11:17:56 -04:00
Makefile consolidated docs 2017-01-06 09:16:59 -05:00
overview_architecture.rst Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
repomerge.rst Remove references to obsolete PR Mover. (#30298) 2017-09-13 20:43:19 +00:00
testing.rst Mdd module unit test docs (#31373) 2017-10-19 13:36:57 -07:00
testing_compile.rst Convert ansible-test compile into a sanity test. 2018-01-25 09:45:36 -08:00
testing_httptester.rst docs: fix community meetings link (#27264) 2017-07-25 09:23:01 -04:00
testing_integration.rst [cloud] Improve aws testing and use {{ region }} var (#26892) 2017-11-09 11:56:31 -05:00
testing_integration_legacy.rst aws integration tests - provide an IAM policy for running (#24725) 2017-05-19 14:37:39 -07:00
testing_pep8.rst docs: fix community meetings link (#27264) 2017-07-25 09:23:01 -04:00
testing_running_locally.rst Mdd module unit test docs (#31373) 2017-10-19 13:36:57 -07:00
testing_sanity.rst Docs how to test (2nd) (#24094) 2017-04-28 09:08:26 +01:00
testing_units.rst Mdd module unit test docs (#31373) 2017-10-19 13:36:57 -07:00
testing_units_modules.rst dev_guide: format code in testing_units_modules.rst (#33009) 2017-11-27 14:41:53 -05:00
testing_validate-modules.rst Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00