Skip to content

defipy-devs/defipy-docs

Repository files navigation

DeFiPy Documentation

Sphinx source for DeFiPy's documentation site, published at defipy.org and defipy.readthedocs.io.

DeFiPy is a unified Python SDK for agentic DeFi, covering analytics, simulation, and LLM-native tool schemas for autonomous agents. For product information, see the main repository or the rendered docs.

Repo contents

  • docs/ — Sphinx source (.rst pages, .ipynb notebooks, conf.py)
  • docs/agentic_primitives/notebooks/ — executable category notebooks (9 files covering all 21 primitives)
  • docs/math/ — DeFi math reference notebooks
  • docs/img/ — images, banners, diagrams
  • .readthedocs.yaml — RTD build configuration

Building locally

Requires Python 3.10+:

pip install -r docs/requirements.txt
cd docs
sphinx-build -b html . _build/html

Open _build/html/index.html in a browser to view the rendered site.

Notebook authoring

Category notebooks use nbsphinx with nbsphinx_execute = "never" — outputs are baked into the committed .ipynb files. To edit a notebook:

jupyter notebook docs/agentic_primitives/notebooks/<category>.ipynb
# edit, Kernel → Restart & Run All, save

For source-controlled editing via jupytext, percent-format .py sources can be maintained alongside .ipynb files. See .readthedocs.yaml for the RTD build pipeline.

Contributing

Documentation fixes, typo corrections, and notebook improvements are welcome. Larger structural changes (IA, toctree, theming) should be discussed via issue first.

For library-level changes, see the main repository.

License

Apache License, Version 2.0. See LICENSE.

About

DeFiPy Docs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages