19 Commits
Author SHA1 Message Date
zeekay 38367a87f1 every Hanzo dependency is the version npm serves
Ranges drift once nothing moves them: a caret that has not been rewritten
since it was written pins whatever was current that day, and an exact pin
cannot even take a patch. Both are updated here.

One line per package, so a surface reads the same components, the same
tokens and the same face as every other one.
2026-09-01 15:54:34 -07:00
zeekay 498ba0715b fix(type): the binding is named for the face it holds
A docs-site template repeated across these repos named three different faces in
one place: a binding called `inter` or `geist`, constructed from next/font/google
so it actually held Inter, publishing a custom property called
`--font-geist-sans` that @hanzo/font does not set. Whichever of the three a
reader trusted, two of them were wrong.

They take Zen and ZenMono from @hanzo/font — bindings named `sans` and `mono`
for the role they fill, setting --font-zen-sans and --font-zen-mono, which is
what the package publishes.
2026-08-28 08:40:15 -07:00
zeekay fb83694c0a docs: swap Inter for Zen 2026-08-23 14:53:59 -07:00
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
Fuma Nama 0137d3b426 chore(docs): update @hanzo/mdx to ^14.2.0, @hanzo/ui to ^5.3.28 2025-12-17 15:55:32 -08:00
Fuma Nama 87d5b10956 chore(docs): update @hanzo/ui to ^5.3.26 2025-12-17 15:43:15 -08:00
zeekay 9400d69057 chore(docs): bump @hanzo/ui to 5.3.25 2025-12-17 15:04:16 -08:00
zeekay 7287fd19c0 feat(docs): use flat imports from @hanzo/ui
Simplify imports: import { DocsLayout, RootProvider } from '@hanzo/ui'
instead of @hanzo/ui/docs/layouts/docs subpaths
2025-12-17 14:52:17 -08:00
zeekay 8ddb6c3aed chore(docs): bump @hanzo/ui to 5.3.23 for docs/source export 2025-12-17 14:45:21 -08:00
zeekay d0b075bbf1 chore(docs): migrate from fumadocs to @hanzo/mdx and @hanzo/ui
- Replace fumadocs-ui with @hanzo/ui/docs/*
- Replace fumadocs-mdx with @hanzo/mdx
- Update import paths and CLI commands
2025-12-17 14:31:51 -08:00
zeekay a101a8c99e chore(docs): use unified @hanzo/docs package
Consolidate to single @hanzo/docs package with subpath exports:
- @hanzo/docs/core/* for core functionality
- @hanzo/docs/ui/* for UI components
- @hanzo/docs/mdx/* for MDX processing

Uses hanzo-docs CLI instead of fumadocs-mdx for build commands.
2025-12-17 14:22:35 -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 47d4b52aed chore(docs): upgrade fumadocs to v16 to match LPs theme 2025-12-17 13:46:58 -08:00
zeekay 51d6d4066b docs: use inline Logo component instead of external package
- Create local Logo component with Lux triangle SVG
- Remove @luxfi/logo dependency to fix CI build
- Update pnpm-lock.yaml
- Logo uses currentColor for proper dark mode support
2025-11-10 10:00:05 -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 2cdac3a600 Update all docs 2025-11-06 19:29:57 -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