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
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 todocs/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
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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gendoc_md-0.1.1-py3-none-win_amd64.whl.
File metadata
- Download URL: gendoc_md-0.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7715a0ad506ab524d645dab476598ba7cd25b30fa432b00dc94cb8ff4bf50ab7
|
|
| MD5 |
ca5b230bc967f51778aebb20f2bcef9e
|
|
| BLAKE2b-256 |
43e59aadff900a4bdce581513f7ec2a5cf29857096d0229f990e545c78ae956b
|
File details
Details for the file gendoc_md-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: gendoc_md-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8081a2015f11dae93a9ec850a6efb4c58ec3fd7a1f530191a1b17de26c45f3cf
|
|
| MD5 |
b7b9d8f655259201a0e5ba19c72cdb95
|
|
| BLAKE2b-256 |
3310b274182ac8a3b01f4105ff9547ab02e7aa9b69eff052be6fea07a043de28
|
File details
Details for the file gendoc_md-0.1.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: gendoc_md-0.1.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cdc0316166bd4c6c29f1801a0f55acd171a914b712e47a113b9d33aa692c7a7
|
|
| MD5 |
0dd9f12d4a3f377d8a5b405ea7a9fe91
|
|
| BLAKE2b-256 |
aa6b0c0cd8b9de2421c143dccbe60494d690a19c8a14114f260509ab94206461
|