Skip to main content

Generate minimal reference API docs from a python library in the form of markdown files that can be rendered in Quarto.

Project description

pydoc-quarto

Install

pip install pydoc_quarto

Usage

!pydoc_quarto -h
usage: pydoc_quarto [-h] lib dest_dir

Generate Quarto Markdown API docs

positional arguments:
  lib         the name of the python library
  dest_dir    the destination directory the markdown files will be rendered into

options:
  -h, --help  show this help message and exit

Example

This will generate markdown files for the requests library:

!pydoc_quarto requests _test_dir/
!ls _test_dir/
adapters.qmd     compat.qmd       hooks.qmd        status_codes.qmd
api.qmd          cookies.qmd      models.qmd       structures.qmd
auth.qmd         exceptions.qmd   packages.qmd     utils.qmd
certs.qmd        help.qmd         sessions.qmd

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_quarto-0.0.12.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

pydoc_quarto-0.0.12-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

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