Docs: Read arg_spec documentation from module #45805
This PR includes:
v2.8 and earlier
gundalow left a comment
I know this is WIP, but I hough some initial thoughts.
If we go ahead with this I think it would need to be multiple PRs
We can revisit this after AnsibleFest.
This is a WIP, and for testing I need to have these modules in the same branch.
I do not plan to rewrite every module doc, the whole purpose of this implementation is that this is not required. We merge the docs with the arg_spec, but the docs have priority over the arg_spec.
The only thing we need in the arg_spec is a way to hide certain stuff from the docs. As some modules have parameters that should not be exposed to the user.