You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a Next.js application generated with [Fumadocs](https://github.com/fuma-nama/fumadocs).
11
10
12
11
To start local development follow the steps below
13
12
@@ -31,32 +30,126 @@ pnpm install
31
30
pnpm dev
32
31
```
33
32
33
+
## Project Structure
34
34
35
-
##Explore
35
+
### Content Organization
36
36
37
-
In the project, you can see:
37
+
The documentation content is organized in the `content/` directory with the following structure:
38
38
39
-
-`lib/source.ts`: Code for content source adapter, [`loader()`](https://fumadocs.dev/docs/headless/source-api) provides the interface to access your content.
40
-
-`app/layout.config.tsx`: Shared options for layouts, optional but preferred to keep.
|`src/components/icons/`| Custom SVG icons for products |
78
+
|`src/components/ui/`| UI component library |
79
+
|`src/lib/source.ts`| Content source adapter with Fumadocs loader |
80
+
81
+
### Configuration Files
82
+
83
+
-`source.config.ts` - Fumadocs MDX configuration with math, mermaid, and code highlighting
84
+
-`next.config.mjs` - Next.js configuration
85
+
-`postcss.config.mjs` - PostCSS configuration for styling
86
+
87
+
## Navigation & Components
88
+
89
+
### Navigation Structure
90
+
91
+
The top navigation is configured in `src/app/layout.config.tsx` and includes:
92
+
93
+
-**Main Navigation**: Home, Forum, Website links
94
+
-**Product Categories**: Auto-generated from content structure
95
+
-**Search**: Full-text search across all documentation
96
+
-**Theme Toggle**: Light/dark mode switching
97
+
98
+
Sidebar navigation is handled in `src/navigation/` where multiple navigation JSON trees are exported and used inside `src/components/layout/docs-layout-client.tsx`
99
+
100
+
### Key Components
101
+
102
+
#### Layout Components
103
+
-`DocsLayoutClient` - Client-side docs layout with sidebar
104
+
-`BaseLayoutProps` - Shared layout configuration
105
+
-`PageClient` - Individual page wrapper
106
+
107
+
#### UI Components
108
+
-`Card` & `SmallCard` - Content cards for homepage
109
+
-`TOC` - Table of contents with scrollspy
110
+
-`Search` - Search interface with custom results
111
+
-`ThemeToggle` - Theme switching
112
+
-`VersionBanner` - Version-specific messaging
113
+
114
+
#### Custom Icons
115
+
Product-specific icons located in `src/components/icons/`:
0 commit comments