Commit Graph
7 Commits
Author SHA1 Message Date
zeekay aade1be43e deps: update docs to latest @hanzo/docs-* packages
Migrate from deprecated @hanzo/mdx + @hanzo/ui to the new
@hanzo/docs (16.4.1), @hanzo/docs-mdx (14.2.8), and
@hanzo/docs-ui (16.5.3) package stack. Update all import paths
to use correct subpath exports and switch CLI from hanzo-mdx
to docs-mdx.
2026-02-09 00:07:11 -08:00
zeekay 5db3da6bfa chore(docs): migrate from fumadocs to @hanzo/docs packages
Use Hanzo's own documentation framework fork for better integration
with existing @hanzo/ui components and consistent theming.

- Replace fumadocs-core with @hanzo/docs-core
- Replace fumadocs-ui with @hanzo/docs-ui
- Replace fumadocs-mdx with @hanzo/docs-mdx
2025-12-17 14:17:29 -08:00
zeekay 16207f1fc2 docs: add fumadocs styles, Lux logo, and pure black sidebar
- Import fumadocs-ui/style.css for proper layout and components
- Add @luxfi/logo package and use Logo component in nav
- Set sidebar to pure black (#000) for both light and dark modes
- Update semantic color tokens for better consistency
- Replace lucide Zap icon with official Lux triangle logo
- Ready to be forked as template for other Lux protocol docs
2025-11-10 09:58:11 -08:00
zeekay 958f6af3bd docs: match hanzo ui styling and theme
- Add complete CSS variable system for light/dark themes
- Add semantic color tokens (background, foreground, primary, etc.)
- Add Lux brand theme with cyan/blue accent colors
- Improve layout with proper font variables and structure
- Add metadata for better SEO
- Use OKLCH color space for modern color management
2025-11-10 09:06:33 -08:00
zeekay ce7abf0984 More cleanup 2025-11-06 17:25:59 -08:00
zeekay 1a2d8a6ef3 docs: upgrade to fumadocs v16 and tailwind v4
- Removed @hanzo/ui dependency (peer dependency conflicts)
- Upgraded fumadocs-core, fumadocs-mdx, fumadocs-ui to v16
- Upgraded tailwindcss to v4.1.17
- Converted Tailwind config to CSS-based @theme syntax for v4
- Fixed generateStaticParams API for fumadocs-mdx v12+

Note: Build still hangs at "Creating an optimized production build" phase.
This appears to be a Turbopack issue with Next.js 16. Investigation ongoing.

Related: Updated @hanzo/ui peer dependencies to support Next 16 and React 19
(changes in ~/work/hanzo/ui/pkg/ui/package.json - not committed here)
2025-11-06 14:36:14 -08:00
zeekay deec6064cc docs: Create comprehensive documentation site with Fumadocs + @hanzo/ui
âœĻ Features:
- Dark mode by default with Lux branding
- Multi-language SDK documentation (Go, C, Rust, Python, C++)
- Real benchmark results integration
- @hanzo/ui design system
- Fumadocs MDX framework
- Next.js 16 with App Router

📚 Documentation:
- Homepage with quick start
- SDK overview with feature matrix
- Go SDK complete API reference
- C SDK with 33/33 test results
- Performance benchmarks page
- Responsive sidebar with search

ðŸŽĻ Branding:
- Lux color palette (lux-50 to lux-950)
- Custom logo with Zap icon
- Gradient banner for v1.21.0
- Dark theme optimized

🔧 Technical:
- TypeScript throughout
- Tailwind CSS with custom config
- Rehype Pretty Code for syntax
- React 19 + Next.js 16
- Port 3001 for docs server

📊 Benchmarks:
- Go: 1.7Ξs decisions, 179M sigmoid ops/sec
- C: 33/33 tests passing, 1M+ blocks/sec
- Real results from 2025-11-06

Run: cd docs && pnpm dev
Visit: http://localhost:3001
2025-11-06 13:51:19 -08:00