Skip to main content

Create Python API documentation in Markdown format.

Project description

Pydoc-Markdown

CircleCIVersion 3.x

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.

>> 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 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:

  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.2.0.post1.tar.gz (29.7 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.2.0.post1-py3-none-any.whl (50.7 kB view details)

Uploaded Python 3

File details

Details for the file pydoc-markdown-3.2.0.post1.tar.gz.

File metadata

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

File hashes

Hashes for pydoc-markdown-3.2.0.post1.tar.gz
Algorithm Hash digest
SHA256 f01ab419d8e0a2a752f3761065a282699d7003dd208297e5ab91a7d6f6925b39
MD5 26a450c37c7b636dd87699470064e3f2
BLAKE2b-256 e6537ec8a9080f2aedb1932f92d998ca2d0a8b469a58c4ebd89224817f48bbff

See more details on using hashes here.

File details

Details for the file pydoc_markdown-3.2.0.post1-py3-none-any.whl.

File metadata

  • Download URL: pydoc_markdown-3.2.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 50.7 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/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.11

File hashes

Hashes for pydoc_markdown-3.2.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d754c3df6550d89d0c6ef5fc48aa17ba33b5e45f41e77ea451dcd14e1021d1b
MD5 8644583001b987977ebc7e28d57d5708
BLAKE2b-256 d843a5ffba5b2bd54dedfaa4d1911e5880293cfff85962736b6d63a060e9f094

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