Pydoc-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.
#OtherClassfor the Pydoc-Markdown style) - Configure the output using a YAML file or
pyProject.toml, then you're only one command away to generate the documentation in Markdown format - Or use Novella to tightly integrate with static site generators like MkDocs and Hugo with with additional features such as Markdown pre-processing
News 📢
4.7.0 (Undeprecating YAML configuration)
Many users prefer the YAML configuration over the using Novella, which is why starting with 4.7.0, the YAML style configuration is officially un-deprecated and will continue to be supported.
4.6.0 (Novella integration)
Starting with 4.6.0, development focuses on integrating with Novella and use it as a replacement for tool-specific renderers thus far provided directly by Pydoc-Markdown (i.e. integrations with MkDocs, Hugo and Docusuraus). Such integrations are/will be provided by Novella instead.
With the Novella integration, you can now place generated API content in Markdown format inline with your
existing Markdown documentation source files using @pydoc tags. Check out the Documentation for more
information on how to use Pydoc-Markdown with Novella.
The old style of using Pydoc-Markdown with a YAML or PyProject configuration to generate files and kick off the build is now deprecated but will be maintained for the foreseeable future (at least until the next major version bump). It is strongly recommended to migrate your existing projects to using the Novella build backend.
Contributing to Pydoc-Markdown 🤝
All contributions are welcome! Check out the Contribution Guidelines.
Questions / Need help? 🤔
Feel free to open a topic on GitHub Discussions!
Projects using Pydoc-Markdown 📚
An incomplete list of projects that use Pydoc-Markdown to generate their API documentation. Feel free to open a pull request to add your project to this list!
Metadata
Release files for pydoc-markdown 4.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydoc_markdown-4.8.2.tar.gz | 44.5 kB | Without provenance | Details for pydoc_markdown-4.8.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydoc_markdown-4.8.2-py3-none-any.whl | Python 3 | none | any | Details for pydoc_markdown-4.8.2-py3-none-any.whl |
Total release size: 112.3 kB
Release files / pydoc_markdown-4.8.2.tar.gz
| Download URL | pydoc_markdown-4.8.2.tar.gz |
|---|---|
| Size | 44.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb6c927e31386de17472d42f9bd3d3be2905977d026f6216881c65145aa67f0b
|
|
BLAKE2b-256 checksum How to use checksums |
e18a2c7f7ad656d22371a596d232fc140327b958d7f1d491b889632ea0cb7e87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.2
|
Release files / pydoc_markdown-4.8.2-py3-none-any.whl
| Download URL | pydoc_markdown-4.8.2-py3-none-any.whl |
|---|---|
| Size | 67.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
203f74119e6bb2f9deba43d452422de7c8ec31955b61e0620fa4dd8c2611715f
|
|
BLAKE2b-256 checksum How to use checksums |
835ace0b056d9a95fd0c06a6cfa5972477d79353392d19230c748a7ba5a9df04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.2
|
Security for pydoc-markdown 4.8.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.