swydd/docs/source/index.rst

32 lines
870 B
ReStructuredText
Raw Normal View History

2024-10-24 18:35:06 -05:00
:layout: landing
:description: "swydd will yield desired deliverables"
swydd
=====
.. rst-class:: lead
2025-02-06 12:58:13 -06:00
**S**\ wydd **w**\ ill **y**\ ield **d**\ esired **d**\ eliverables.
2024-10-24 18:35:06 -05:00
See the `api reference </api.html>`_ for more info.
There is not currently sufficient usage examples.
For now check `tasks.py <https://github.com/daylinmorgan/swydd/blob/main/tasks.py>`_ for example usage
Automagic Snippet
-----------------
.. code-block:: python
2025-02-10 12:10:57 -06:00
# fmt: off
# https://swydd.dayl.in/#automagic-snippet
if not((_i:=__import__)("importlib.util").util.find_spec("swydd")or
(_src:=_i("pathlib").Path(__file__).parent/"swydd/__init__.py").is_file()):
_r=_i("urllib.request").request.urlopen("https://swydd.dayl.in/swydd.py")
_src.parent.mkdir(exist_ok=True);_src.write_text(_r.read().decode()) # noqa
# fmt: on
2024-10-24 18:35:06 -05:00
.. toctree::
:hidden:
api