Create Python API documentation in Markdown format.
pip install pydoc-markdownPydoc-Markdown 📃
Pydoc-Markdown is a tool to create Python API documentation in Markdown format. Instead of executing your Python code like so many other documentation tools, it parses it using docspec instead.
Table of Contents
- Installation 📦
- Features 🌟
- News 📢
- Contributing to Pydoc-Markdown 🤝
- Questions / Need help? 🤔
- Projects using Pydoc-Markdown 📚
Installation 📦
You can install Pydoc-Markdown using Pipx:
$ pipx install pydoc-markdown
If you plan on using the Novella integration, you may want to install it as:
$ pipx install novella
$ pipx inject novella pydoc-markdown[novella]
You need at least Python 3.7 to run Pydoc-Markdown. The Python version compatibility of the package you are looking to generate documentation for is irrelevant.
Features 🌟
- Understands multiple documentation styles (Sphinx, Google, Pydoc-Markdown specific) and converts them to properly formatted Markdown
- Can parse docstrings for variables thanks to docspec (
#:block before or string literal after the statement) - Generates links to other API objects per the documentation syntax (e.g. for the Pydoc-Markdown style)