Commit graph

8 commits

Author SHA1 Message Date
yeranyang
942077c773 perf(docs): replace full lucide barrel import with explicit icon whitelist
Fixes #1241

The docs bundle was importing `{ icons }` from lucide-react, which pulls
the entire Lucide icon library (~1 400 SVGs, ~500 kB of JS) into the Next.js
docs bundle even though only nine icons are used in docs frontmatter and
meta.json files.

Replace with a hand-maintained DOCS_ICONS whitelist that imports only the
icons that are actually referenced (BookOpen, ClipboardCheck, Compass,
Container, Download, FlaskConical, Heart, Unplug, Wrench).

To add a new docs icon: import it from lucide-react and add it to the
DOCS_ICONS record. The icon() callback remains the same for callers.
2026-04-29 12:34:13 +08:00
DESKTOP-RTLN3BA\$punk
fa51ec42c6 chore: removed announcements from navbar and rewrote tagline 2026-02-27 15:45:48 -08:00
Anish Sarkar
20ebb0703f chore: add icons to documentation metadata for improved visual representation 2026-02-27 02:15:21 +05:30
DESKTOP-RTLN3BA\$punk
3bfe860d6f chore: liniting 2025-12-20 05:14:31 -08:00
DESKTOP-RTLN3BA\$punk
ad41967d28 refactor: migrated to next 16, updated fumadocs
- Deleted the empty middleware file as it was temporarily disabled for client-side i18n implementation.
- Updated `next`, `next-intl`, and `fumadocs` packages to their latest versions.
- Cleaned up the `next.config.ts` by removing the eslint configuration.
- Enhanced `tsconfig.json` with additional paths for `fumadocs-mdx`.
- Adjusted imports in `layout.tsx` and `request.ts` for better structure and functionality.
2025-12-20 04:24:40 -08:00
Utkarsh-Patel-13
3164c0c8cc Biome: fixes for hooks & lib directory 2025-07-27 10:44:27 -07:00
Utkarsh-Patel-13
758603b275 Initial formatting using biome 2025-07-27 10:05:37 -07:00
DESKTOP-RTLN3BA\$punk
0436d2ab64 feat: Added FumaDocs 2025-04-22 02:24:13 -07:00