Skip to main content

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.

>> Go to the Documentation

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

What this does:

  1. Install MkDocs
  2. Create pydoc-markdown.yaml file in the current directory
  3. 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


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.4.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydoc_markdown-3.4.0-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

Details for the file pydoc-markdown-3.4.0.tar.gz.

File metadata

  • Download URL: pydoc-markdown-3.4.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.11

File hashes

Hashes for pydoc-markdown-3.4.0.tar.gz
Algorithm Hash digest
SHA256 f09f38190c11711c68e5a6b965888aec18153dd91a98c0c24ca9e42621b39486
MD5 2361f2ab2b40195554f34a417aee2f53
BLAKE2b-256 c0a3c17037ae5daa2dde6125fc015e2468a8d8398d7f207de1d1cbd2e89d4a73

See more details on using hashes here.

File details

Details for the file pydoc_markdown-3.4.0-py3-none-any.whl.

File metadata

  • Download URL: pydoc_markdown-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 57.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.11

File hashes

Hashes for pydoc_markdown-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 208574308b7887f3dfc58959af954cc71b482628be876be00cd5ae5441e321ac
MD5 f12cbeb499b4b573f3d9d75c934d7189
BLAKE2b-256 295a49e5713daf7cd563ad114d0565344e3a31ecedaf16585a594a983ab4352f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page