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
Sviatoslav Sydorenko e5609db342
[backport][2.9][PR #70446] Refactor Python API examples and docs (#70851)
* Add boilerplate snippet into `examples/`

It is a partial backport of #70224

(partially cherry picked from commit 4816bb4f43)

* Refactor Python API examples and docs

PR #70446: it's a follow-up for #70445.

It includes a merge of `examples/scripts/uptime.py` and a similar
code snippet from `docs/docsite/rst/dev_guide/developing_api.rst`.

This patch also changes the docs RST file to include contents of
the example file instead of holding a copy of a similar code.

(cherry picked from commit 20bb915092)
5 years ago
..
api link from API stub page to module_utils page (#49831) 7 years ago
community Update Molecule support contact (#70797) (#70805) 5 years ago
dev_guide [backport][2.9][PR #70446] Refactor Python API examples and docs (#70851) 5 years ago
galaxy Backport of 67645 docs/docsite/rst/: fix typos (#67649) 6 years ago
images Adds custom 404 with cowsay image (#57422) 7 years ago
installation_guide [backport][2.9]Add note that devel branch should not be used in real environments (#… (#67494) 6 years ago
inventory Add implicit localhost hostvars note (#61956) 6 years ago
network Add platform guide for FRR (#69773) (#70067) 6 years ago
plugins Backport of 67645 docs/docsite/rst/: fix typos (#67649) 6 years ago
porting_guides Mention acme_certificate behavior changes in porting guide caused by a bugfix and previously incorrect examples. (#69167) 6 years ago
reference_appendices Allow tasks to notify a fqcn handler name (#68213) (#70074) 6 years ago
roadmap remove toshio as release manager (boohoo) (#64685) (#64740) 6 years ago
scenario_guides Backport of 67645 docs/docsite/rst/: fix typos (#67649) 6 years ago
shared_snippets [stable-2.9] Update example requirements file docs (#67626) (#67714) 6 years ago
user_guide [2.9] Docs: point inventory script to respective version 6 years ago
404.rst removes link from 404 content, explains options (#57971) 7 years ago
conf.py adds japanese translation as a version-switcher option (#70214) (#70217) 6 years ago
index.rst Backport/2.9/docs (#64073) 6 years ago