/griffe2md

Output API docs to Markdown using Griffe.

Primary LanguagePythonISC LicenseISC

griffe2md

ci documentation pypi version gitpod gitter

Output API docs to Markdown using Griffe.

Installation

With pip:

pip install griffe2md

With pipx:

python3.8 -m pip install --user pipx
pipx install griffe2md

Usage

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