Project Plan
Current implementation status
The project already includes a working foundation that covers the main Auto Doc workflow from repository analysis to documentation publishing.
Completed and active capabilities
A FastAPI service has been implemented to coordinate repository analysis, documentation generation, and publishing workflows.
Repository access has been integrated for both GitHub and GitLab.
The system can scan Python, JavaScript, TypeScript, and MATLAB source files (
.m/.matlab) and assess documentation coverage across supported source code blocks.AI-powered docstring suggestion generation is available for missing documentation through OpenAI, Codex CLI, or Claude CLI, with support for reuse of previously generated suggestions.
A Sphinx documentation scaffold is generated automatically for reviewed repositories.
AutoAPI integration is supported through the
autoapi_include/workflow, including filtering of risky files and skipped-file reporting during build fallback.The project supports a review-first publishing flow in which documentation can be built and published to GitHub Pages.
Runtime logs and analysis artifacts are stored to support traceability and review of each documentation run.
Near-term refinement work
Improve the generated documentation templates so project pages are more structured, easier to review, and more visually consistent.
Strengthen documentation quality checks and evaluation across generated outputs.
Refine the publishing and scaffold workflow to reduce friction for teams adopting the system in real repositories.
Future development
Introduce Retrieval-Augmented Generation (RAG) so docstring and documentation suggestions can be grounded in repository-specific context, existing documentation, architectural notes, and previously approved project knowledge.
Extend the platform toward audit-ready documentation by generating more structured evidence trails, change histories, traceable outputs, and documentation artifacts suitable for regulated or compliance-aware environments.
Expand support for stronger documentation intelligence, including richer contextual recommendations, improved summarization, and more reusable documentation outputs across project lifecycles.
Validation approach
Test the workflow against representative repositories from supported languages and repository providers.
Review the usefulness, clarity, and correctness of generated docstring suggestions.
Assess the quality of generated Sphinx pages, published HTML output, and supporting logs and artifacts.
Use developer feedback to guide improvements in usability, trust, and documentation completeness.
Milestones
Milestone |
Outcome |
|---|---|
M1 |
Core FastAPI service and repository analysis implemented |
M2 |
Docstring generation and Sphinx scaffold workflow active |
M3 |
Review-first publishing and reporting workflow stabilized |
M4 |
RAG and audit-ready documentation features planned |