Output API docs to Markdown using Griffe.
pip install griffe2md
With uv
:
uv tool install griffe2md
Simply call griffe2md
with a package name, or the path to a package folder:
griffe2md markdown
griffe2md path/to/my/src/package
Use the -o
, --output
option to write to a file instead of standard output:
griffe2md markdown -o markdown.md