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.

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 --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.1.0.tar.gz (25.3 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.1.0-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydoc-markdown-3.1.0.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for pydoc-markdown-3.1.0.tar.gz
Algorithm Hash digest
SHA256 6e1ed0ff0e9aafeb24bb2576a40729f880cd382f0dcd009c3b41b09a4bd10f94
MD5 14f5f814c4b3bb711b47327a6ab7a96b
BLAKE2b-256 92222855af02c5e21f62fd770459284284265ab02a16e0ba6f8219b3398b52ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydoc_markdown-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10

File hashes

Hashes for pydoc_markdown-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1bdaf5e83cec5d07d37481647fff2f1b186012cc9c48659d25cd58228285a52
MD5 1fffebe3ca6f0ea46b6b3cb4ba5b7af3
BLAKE2b-256 1e76bca9dcfc43c7a8112fe0239fdc645f7369c1b4637552a71936b614beeee9

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