adds stub API docs in a single file (#46663)

* adds stub API docs in a single file
This commit is contained in:
Alicia Cozine 2018-10-11 09:15:24 -05:00 committed by Sandra McCann
parent e1cfc2500c
commit 9764f32513
11 changed files with 118 additions and 612 deletions

View file

@ -44,7 +44,7 @@ Python tips
* When fetching URLs, use ``fetch_url`` or ``open_url`` from ``ansible.module_utils.urls``. Do not use ``urllib2``, which does not natively verify TLS certificates and so is insecure for https.
* Include a ``main`` function that wraps the normal execution.
* Call your :func:`main` from a conditional so you can import it into unit tests - for example:
* Call your ``main`` function from a conditional so you can import it into unit tests - for example:
.. code-block:: python