@@ -15,67 +15,4 @@ Never Thank cte, hannesrudolph, jr, roomote, dleffel or mrubens in release notes
1515
1616
1717## Misc
18- When moving a section, make sure to add the forwarding link in docusaurus.config.ts
19-
20- # CLAUDE.md
21-
22- This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
23-
24- ## Common Development Commands
25-
26- ### Build & Development
27- - `npm start` - Start local development server with hot reload at http://localhost:3000
28- - `npm run build` - Build static production site to `/build` directory
29- - `npm run serve` - Serve production build locally
30-
31- ### Code Quality
32- - `npm run lint` - Lint TypeScript/JavaScript files in `/src`
33- - `npm run lint:fix` - Auto-fix linting issues
34- - `npm run typecheck` - Run TypeScript type checking
35- - `npm run lint:unused` - Check for unused imports
36-
37- ### Documentation Management
38- - `npm run clear` - Clear Docusaurus cache (useful if seeing stale content)
39- - `npm run swizzle` - Customize Docusaurus components
40-
41- ## High-Level Architecture
42-
43- This is a Docusaurus v3 documentation site for Roo Code, an AI-powered VS Code extension. The architecture follows these patterns:
44-
45- ### Content Structure
46- - **Documentation** lives in `/docs` with a hierarchical folder structure
47- - **Components** in `/src/components` provide custom React components used throughout the site
48- - **Theme customizations** in `/src/theme` override default Docusaurus components for custom behavior
49- - **Static assets** in `/static` (images, downloads, etc.)
50-
51- ### Key Configuration Files
52- - `docusaurus.config.ts` - Main site configuration including URLs, metadata, plugins, and theme settings
53- - `sidebars.ts` - Defines the documentation navigation structure
54- - `src/constants.ts` - Centralized URLs and links used across the site
55-
56- ### Documentation Organization
57- The `/docs` folder follows this structure:
58- - `getting-started/` - New user onboarding
59- - `basic-usage/` - Core features and concepts
60- - `features/` - Detailed feature documentation
61- - `advanced-usage/` - Power user features and tools
62- - `providers/` - API provider configurations
63- - `community/` - Community contributions and resources
64- - `update-notes/` - Version release notes
65-
66- ### Custom Components
67- The site uses custom React components for:
68- - Social media icons and links
69- - Tutorial video grids
70- - Animated backgrounds
71- - GitHub installation buttons
72- - Custom navbar and footer implementations
73-
74- ### Search Implementation
75- Uses `@easyops-cn/docusaurus-search-local` for local search functionality with highlighting and explicit result paths.
76-
77- ### Analytics
78- Integrates PostHog analytics when `POSTHOG_API_KEY` environment variable is set.
79-
80- ### Redirects
81- Extensive redirect configuration handles moved documentation pages to maintain backwards compatibility with existing links.
18+ When moving a section, make sure to add the forwarding link in docusaurus.config.ts
0 commit comments