Skip to main content

gendoc-md

PyPI Release License: MIT

gendoc-md statically reads a local Python project and generates a nested Markdown API map under docs/api-md.

gendoc-md -p your_package

The generated docs are intended as a quick index for LLMs and humans. The tool does not import or execute the target Python project.

Install

pip install gendoc-md

To install from a local checkout:

python -m pip install .

or build a wheel with maturin:

maturin build --release

Usage

gendoc-md [OPTIONS]
  • -i, --input <DIR>: add an import search root. Can be repeated.
  • -p, --package <IMPORT_NAME>: document a package and its submodules. Can be repeated.
  • -m, --module <IMPORT_NAME>: document a single module by import name. Can be repeated.
  • -o, --output <DIR>: output directory. Defaults to docs/api-md.
  • --render-toc: include generated tables of contents.
  • -j, --jobs <N>: number of worker threads. Defaults to logical CPU count.

When no input roots are given, gendoc-md searches ./src and .. When no package or module is given, it discovers top-level local packages and modules from those roots.

Metadata

Release files for gendoc-md 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for gendoc-md 0.1.2
File Interpreter ABI Platform
gendoc_md-0.1.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
gendoc_md-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
gendoc_md-0.1.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 5.5 MB

Release files / gendoc_md-0.1.2-py3-none-win_amd64.whl

Download URL gendoc_md-0.1.2-py3-none-win_amd64.whl
Size 1.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4a61b0633c2245e597de425588a142ec86513992431e4a50dc8d1d90736f7248
BLAKE2b-256 checksum
How to use checksums
9d97ff416cc23d7cc672401d38dfb15e9417792de48cfe6f0fe4e1c2d2d43345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release files / gendoc_md-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL gendoc_md-0.1.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.9 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
ca0d05c79814f25876ef8dcd2bee196453a9a6979c27fe2da74b5efbacf3a31f
BLAKE2b-256 checksum
How to use checksums
bec1ab44ca6ddcdf63a01727b2ff64186d84c6ffe17fa3fd91de1dc681653e29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release files / gendoc_md-0.1.2-py3-none-macosx_11_0_arm64.whl

Download URL gendoc_md-0.1.2-py3-none-macosx_11_0_arm64.whl
Size 1.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c76d25c946039514d8d1b515df8a98669f50a221c030af196c316fa4c72eebbc
BLAKE2b-256 checksum
How to use checksums
8bde8155e170a91fa3357a90a2f2f266c94ea71174426e734d74558165bde39b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.14.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

3 release files

0.1.1

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page