griffe2md: Output API docs to Markdown using Griffe

1.5.0 · active · verified Thu Apr 16

griffe2md is a Python library that generates API documentation in Markdown format. It leverages Griffe for parsing Python source code and uses Jinja templates to render the extracted API data into Markdown, similar to how mkdocstrings-python generates HTML but for Markdown output. It primarily provides a command-line interface for ease of use. The library is actively maintained, currently at version 1.5.0, with regular updates addressing features and bug fixes.

Common errors

Warnings

Install

Quickstart

To generate Markdown API documentation for a Python package, simply run the `griffe2md` command with the path to your source package. Use the `-o` or `--output` option to save the output to a file instead of standard output.

griffe2md markdown path/to/my/src/package -o api_docs.md

view raw JSON →