[4.3] Add API Doc Generator — issue #98 #252

Open
Rockachopa wants to merge 1 commits from step35/98-4-3-api-doc-generator into main
Owner

Adds the API Doc Generator: scripts/api_doc_generator.py.

What it does:

  • Scans all Python files in scripts/
  • Extracts module docstrings and public function signatures
  • Generates docs/API.md — one consolidated reference for the repo

Usage:

python3 scripts/api_doc_generator.py          # Generate docs/API.md
python3 scripts/api_doc_generator.py --check  # Verify docs are current
python3 scripts/api_doc_generator.py --json   # Machine-readable output

This PR

Documents 33 scripts with 100+ public functions. Includes 12 smoke tests.

Closes #98

Adds the API Doc Generator: `scripts/api_doc_generator.py`. What it does: - Scans all Python files in `scripts/` - Extracts module docstrings and public function signatures - Generates `docs/API.md` — one consolidated reference for the repo Usage: ```bash python3 scripts/api_doc_generator.py # Generate docs/API.md python3 scripts/api_doc_generator.py --check # Verify docs are current python3 scripts/api_doc_generator.py --json # Machine-readable output ``` ## This PR Documents **33 scripts** with 100+ public functions. Includes 12 smoke tests. Closes #98
Rockachopa added 1 commit 2026-04-26 11:03:01 +00:00
feat: add API Doc Generator — issue #98
Some checks failed
Test / pytest (pull_request) Failing after 7s
5a6f41689f
- scripts/api_doc_generator.py: AST-based scanner for scripts/ Python modules
- docs/API.md: generated API reference (33 modules, ~500 lines)
- tests/test_api_doc_generator.py: 12 smoke tests (all passing)

The generator extracts module docstrings and public function signatures (name, args, summary) and produces a markdown table per script. One consolidated document per repo (docs/API.md).

Closes #98
Some checks failed
Test / pytest (pull_request) Failing after 7s
Checking for merge conflicts…
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin step35/98-4-3-api-doc-generator:step35/98-4-3-api-doc-generator
git checkout step35/98-4-3-api-doc-generator
Sign in to join this conversation.