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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file pydoc_quarto-0.0.12.tar.gz
.
File metadata
- Download URL: pydoc_quarto-0.0.12.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72108a861f06995f82b96d60ee5a6c2d21b9d019230a4faca8500d2887e9eae9 |
|
MD5 | ae0d466012c31c63a71d15a3b7579698 |
|
BLAKE2b-256 | 7db3664d9c6bea71b2b1613788ea05eff16add729416ab6c200f5023bf5c3369 |
File details
Details for the file pydoc_quarto-0.0.12-py3-none-any.whl
.
File metadata
- Download URL: pydoc_quarto-0.0.12-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572de088a348d78ab3dc1e8b03a4f6b1d1405a72e87706dc7c7265badbf3c27d |
|
MD5 | e6f0b9e01f9aea0d5c77332e1e6af022 |
|
BLAKE2b-256 | 060f84db4c078db4a29ef4f760baf3720f7412856d5c76f0510736fd92f961d2 |