Create Python API documentation in Markdown format.
Project description
Pydoc-Markdown
Pydoc-Markdown is a tool and library to create Python API documentation in
Markdown format based on lib2to3
, allowing it to parse your Python code
without executing it.
Pydoc-Markdown requires Python 3.6 or newer.
Features
- Understands multiple doc styles (Sphinx, Google, Pydoc-Markdown)
- Supports assignment docstrings (
#:
block before or string literal after the statement) - Links references to other documented API objects [WIP]
- MkDocs and Hugo integration
Installation
Install Pydoc-Markdown from PyPI:
$ pipx install 'pydoc-markdown>=3.0.0,<4.0.0'
Quickstart
$ pipx install mkdocs
$ pydoc-markdown --bootstrap mkdocs
$ pydoc-markdown --bootstrap readthedocs
$ pydoc-markdown --server --open-browser
What this does:
- Install MkDocs
- Create
pydoc-markdown.yaml
file in the current directory - Render Markdown files from the Python modules/packages in your current working directory and open a browser to the live-reloading HTML page generated by MkDocs.
Copyright © 2020 Niklas Rosenstein
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydoc-markdown-3.3.0.tar.gz
(32.7 kB
view hashes)
Built Distribution
Close
Hashes for pydoc_markdown-3.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba111847f0f85b9efcb4d77a27f360dcae0e5066969d2cdedac2b998c1ddf26 |
|
MD5 | a3e88dfc38c5e72fd17ff6c22738358c |
|
BLAKE2b-256 | bf17f8e0817c6b8fc914d0172ebc25978a306f781b49af7f09d4db21e869d079 |