[Documentation] API audit follow-through: close the gaps from docs/api-audit-2026-04.md #314
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#314
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
docs/api-audit-2026-04.mdcatalogs the full Python API surface (93 items: 46 exported types, 14 internal types, 10 enums, 13 module functions, 7 properties, 5 singletons). It identifies 15 findings grouped into breaking / non-breaking / future.Several breaking findings have been closed:
sprite_number)__eq__/__ne__)Grid.positionalias)The documentation side the audit was meant to unblock was not completed. This issue tracks closing that loop.
Work to do
1. Regenerate and compare
Run
./tools/generate_all_docs.shand compare output against the 93-item catalog. For each item, verify:2. Findings flagged in the audit
tp_doc. Commit1dec6fais titled "Improve terse docstrings on Vector, Font, Texture, GridPoint, GridPointState" — verify it actually covers all five and the generated docs look right.MCRF_METHOD(...). The macro system is how docs stay in sync with code..family,.sourceonly). Decide: is this acceptable for 1.0 or do we add basic text metrics?Animation(...)emit aDeprecationWarningpointing users at.animate()?3. Downstream artifacts
stubs/mcrfpy.pyishould reflect every item in the catalog with correct type annotationsdocs/API_REFERENCE_DYNAMIC.mdanddocs/api_reference_dynamic.htmlshould be regenerateddocs/mcrfpy.3(man page) should be regenerated4. Commit hygiene
One commit per meaningful batch. Reference this issue.
Not in scope
docs/beyond what the audit coversWhy now
Part of Track 1 (API Freeze) in the current
ROADMAP.md. Settling the documentation surface is a precondition for the freeze itself — you can't commit to a stable API if the public-facing docs don't describe it accurately.Related
docs/api-audit-2026-04.md— source documentCLAUDE.md→ "Documentation Macro System" — how MCRF_* macros worktools/generate_all_docs.sh— the single-command regeneration path