This roadmap details the path from current scaffold to v1.0.
Goal: Solidify the parsing engine and data generation.
- Monorepo Setup: Turbo, ESLint (v9), Prettier, TSConfig.
- Core Architecture:
parser->extractor->generator. - Advanced Type Extraction (
packages/core)- Support
Enumextraction. - Support
TypeAliasextraction. - Support Generics representation (
T,<T>). - Handle inherited members (extends/implements).
- Extract advanced JSDoc tags (
@deprecated,@example,@returns).
- Support
- JSON Schema Finalization: Lock down the
autodocs.jsonoutput format.
Goal: Making autodocs build actually generate a website.
- CLI Implementation (
packages/cli)- Implement
readConfig()to loadautodocs.config.ts. - UI Injection:
buildcommand must copy built assets frompackages/ui/distto user'sdocs-dist. - Data Injection:
buildcommand must writeautodocs.jsonintodocs-dist/data.json.
- Implement
- UI Data Consuming (
packages/ui)- Remove Mock Data (
App.tsx). - Implement
useDocsData()hook to fetchwindow.AUTODOCS_DATAordata.json. - Add loading states and error handling.
- Remove Mock Data (
- CLI Serve Command
- Implement static file server (using
sirvorexpress) inserve.ts. - Support hot-reloading (watch mode) for
autodocs.config.tschanges.
- Implement static file server (using
Goal: A beautiful, interactive documentation site.
- Routing System
- Add React Router.
- Routes:
/(Home),/api/:type(Details),/search(Search).
- Components
-
Sidebar: Group by kind (Interfaces, Classes, Functions). -
SearchCmdK: Command+K global search modal. -
CodeBlock: Syntax highlighted examples (Shiki/Prism). -
PropsTable: Interactive table for interface properties.
-
- Theming
- Dark/Light mode toggle.
- Custom accent color support via config.
Goal: Plugins and custom content.
- Plugin System (
packages/core)- Define
Plugininterface. - Add hook points:
beforeParse,afterExtract,beforeGenerate.
- Define
- Markdown Support (
packages/plugins/markdown)- Parse
.mdfiles indocs/. - Inject markdown content into the simplified JSON output.
- Render Markdown in UI.
- Parse
- Examples Support (
packages/plugins/examples)- Extract
@exampletags. - Create "Playground" or copy-pasteable blocks in UI.
- Extract
Goal: Stability and public launch.
- Testing Strategy
- Unit tests for 100% of
extractorlogic. - E2E tests: Build a real project and verify
dist/index.html.
- Unit tests for 100% of
- CI/CD
- Automate NPM publishing with Changesets.
- Automated version bumping.
- Documentation
- Dogfooding: The
autodocswebsite is built withautodocs. - Complete configuration reference.
- Dogfooding: The
- VS Code Extension (Peek Definition style).
- AI Summary generation for undocumented code.
- Remote schema fetching (GitHub URL support).