feat: Implement DeepWiki documentation generation tools

- Added `__init__.py` in `codexlens/tools` for documentation generation.
- Created `deepwiki_generator.py` to handle symbol extraction and markdown generation.
- Introduced `MockMarkdownGenerator` for testing purposes.
- Implemented `DeepWikiGenerator` class for managing documentation generation and file processing.
- Added unit tests for `DeepWikiStore` to ensure proper functionality and error handling.
- Created tests for DeepWiki TypeScript types matching.
This commit is contained in:
catlog22
2026-03-05 18:30:56 +08:00
parent 0bfae3fd1a
commit fb4f6e718e
62 changed files with 7500 additions and 68 deletions

View File

@@ -43,6 +43,7 @@ const TeamPage = lazy(() => import('@/pages/TeamPage').then(m => ({ default: m.T
const TerminalDashboardPage = lazy(() => import('@/pages/TerminalDashboardPage').then(m => ({ default: m.TerminalDashboardPage })));
const AnalysisPage = lazy(() => import('@/pages/AnalysisPage').then(m => ({ default: m.AnalysisPage })));
const SpecsSettingsPage = lazy(() => import('@/pages/SpecsSettingsPage').then(m => ({ default: m.SpecsSettingsPage })));
const DeepWikiPage = lazy(() => import('@/pages/DeepWikiPage').then(m => ({ default: m.DeepWikiPage })));
/**
* Helper to wrap lazy-loaded components with error boundary and suspense
@@ -197,6 +198,10 @@ const routes: RouteObject[] = [
path: 'analysis',
element: withErrorHandling(<AnalysisPage />),
},
{
path: 'deepwiki',
element: withErrorHandling(<DeepWikiPage />),
},
{
path: 'terminal-dashboard',
element: withErrorHandling(<TerminalDashboardPage />),
@@ -263,6 +268,7 @@ export const ROUTES = {
TERMINAL_DASHBOARD: '/terminal-dashboard',
SKILL_HUB: '/skill-hub',
ANALYSIS: '/analysis',
DEEPWIKI: '/deepwiki',
} as const;
export type RoutePath = (typeof ROUTES)[keyof typeof ROUTES];