python-kasa/docs/source
Steven B 3490a1ef84
Add tutorial doctest module and enable top level await (#919)
Add a tutorial module with examples that can be tested with `doctest`.

In order to simplify the examples they can be run with doctest allowing
top level await statements by adding a fixture to patch the builtins
that xdoctest uses to test code.

---------

Co-authored-by: Teemu R. <tpr@iki.fi>
2024-05-16 18:13:44 +02:00
..
_static Simplify API documentation by using doctests (#73) 2020-06-30 02:29:52 +02:00
cli.rst Add warning about tapo watchdog (#902) 2024-05-07 14:46:59 +02:00
conf.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
contribute.md Move contribution instructions into docs (#901) 2024-05-08 15:25:22 +02:00
design.rst Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
device.rst Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
discover.rst Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
index.rst Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
smartbulb.rst Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
smartdimmer.rst Add ToCs for doc pages (#380) 2022-10-18 19:08:10 +02:00
smartlightstrip.rst Add ToCs for doc pages (#380) 2022-10-18 19:08:10 +02:00
smartplug.rst Add ToCs for doc pages (#380) 2022-10-18 19:08:10 +02:00
smartstrip.rst Update smartstrip.rst (#382) 2022-10-19 01:16:11 +02:00
SUPPORTED.md Add WallSwitch device type and autogenerate supported devices docs (#758) 2024-03-01 18:32:45 +00:00
tutorial.md Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00