Skip to main content

Generate nested Markdown API maps for local Python projects.

Project description

gendoc-md

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 From Source

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gendoc_md-0.1.0-py3-none-win_amd64.whl (1.8 MB view details)

Uploaded Python 3Windows x86-64

gendoc_md-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

gendoc_md-0.1.0-py3-none-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file gendoc_md-0.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: gendoc_md-0.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for gendoc_md-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b92e416a0e8d28367297ca9d963cd07fe682a5a8ba9663587ad662b6a5bff38a
MD5 a78534acb6c6761568fb41a3a0acaa80
BLAKE2b-256 d724774bbf4ab2a839744f3399cd9a653d68ba1cac83723051ca1f65313de0af

See more details on using hashes here.

File details

Details for the file gendoc_md-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for gendoc_md-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d70c4c57dc98e7d30e4e6811841b5a3189e4430c238a4ebfb1ddfc1992cc6cdc
MD5 862d40adff1b933963f248dcb798743b
BLAKE2b-256 19d87c60c5f5be2c47ff4c13c9bb7fa91d1c1bf8c7ac9ecb717c1018fc1a6215

See more details on using hashes here.

File details

Details for the file gendoc_md-0.1.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for gendoc_md-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44cea7552a5af6849e597c1ab007170970ea79e8eba4b520a2e5296858ae8e07
MD5 f26fcebad6cde7c12dd008ae69e22975
BLAKE2b-256 0f7ebcab20e942e76a78f92a454357998dc24bc8f1514ac047d790f48782c9fc

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