mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
adds stub API docs in a single file (#46663)
* adds stub API docs in a single file
This commit is contained in:
committed by
Sandra McCann
parent
e1cfc2500c
commit
9764f32513
@@ -5,7 +5,6 @@ The AnsibleModule argument_spec knows of several types beyond the standard pytho
|
||||
these is ``path``. When used, type ``path`` ensures that an argument is a string and expands any
|
||||
shell variables and tilde characters.
|
||||
|
||||
This test looks for use of :meth:`os.path.expanduser` in modules. When found, it tells the user to
|
||||
This test looks for use of :func:`os.path.expanduser <python:os.path.expanduser>` in modules. When found, it tells the user to
|
||||
replace it with ``type='path'`` in the module's argument_spec or list it as a false positive in the
|
||||
test.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user