Commit Graph
15 Commits
Author SHA1 Message Date
zooqueen b605993234 Zen is the family across every app, example and static page
The docs estate declared its typeface in 30 root layouts and one linked
stylesheet, each pulling a third-party family off a hosted font CDN on the
critical path of every route. Two of those surfaces also self-hosted the
faces, so the same bytes were vendored by hand in the repo.

@hanzo/font 1.8.8 is where Zen is authored. It is now mounted the way this
repo already mounts every other package stylesheet — `@import '@hanzo/font/css'`
at the top of the app's own sheet — which declares the @font-face rules and
publishes --font-zen-sans / --font-zen-mono. A single :root block per app binds
those to --font-sans / --font-mono, the pair every rule and every font-*
utility already read, so the variable contract is untouched and the next face
swap is two lines rather than a sweep. Genuine system fallbacks stay.

Mounting through the sheet rather than a JS side-effect import also drops the
untyped bare subpath TypeScript could not resolve, so no per-app declaration
shim is needed.

public/reference/ is static HTML with no bundler, so it keeps its own
@font-face; scripts/sync-reference-fonts.ts copies the two variable faces out
of the installed package on each build and the directory is ignored, the same
rule public/openapi/ already follows. The hand-vendored faces are deleted.

Also corrects the brand typography table, which still named a face Hanzo does
not ship, and the three sample configs and two skill pages that repeated it.
2026-08-24 13:20:49 -07:00
zeekay a166e80677 Merge upstream fumadocs dev (16.6.17) with @hanzo/docs namespace rename
Merge 131 upstream commits from fuma-nama/fumadocs dev branch, bringing
framework packages to v16.6.17. All fumadocs-* and @fumadocs/* package
references renamed to @hanzo/docs-* namespace.

Upstream additions:
- packages/content/ (@hanzo/docs-content) - Fuma Content adapter
- packages/epub/ (@hanzo/docs-epub) - EPUB export support
- MarkdownCopyButton, ViewOptionsPopover in docs page layout
- Flexsearch, Orama search integration
- Shiki v4 upgrade
- Various UI framework improvements

Hanzo customizations preserved:
- apps/docs/content/ (all Hanzo service/project docs)
- apps/docs/app/ (Hanzo homepage, AI chat, subdomain routing)
- apps/docs/components/ (AI search, error boundaries, auth)
- apps/docs/lib/ (source config, OpenAPI, metadata)
- Webpack alias layer for upstream project doc imports
- MdxErrorBoundary wrapper for graceful MDX failures
2026-03-16 14:34:53 -07:00
Fuma Nama ea74cb403b Chore: enforce type-safe MDX components universally 2026-03-10 19:59:51 +08:00
zeekay 6583077918 fix: resolve post-merge naming issues and regenerate lockfile
- Fix packages/radix-ui to use @hanzo/docs-ui name (matches original fumadocs-ui)
- Fix remaining fumadocs-* references across all package.json deps
- Fix MDX documentation content branding
- Fix workspace dependency resolution (fumapress → @hanzo/docs-press)
- Regenerate pnpm-lock.yaml
2026-02-08 21:31:22 -08:00
zeekay beb9743c21 chore: merge upstream fumadocs (c81161857)
- Merged latest changes from fuma-nama/fumadocs upstream
- Rebranded all documentation content from Fumadocs to Hanzo Docs
- Updated package references to @hanzo/docs-* namespace
- Renamed what-is-fumadocs.mdx to what-is-hanzo-docs.mdx
- Kept Hanzo package versions and changelogs

Upstream changes include:
- Python: fix bundle size
- Core: Support <auto-files /> syntax
- OpenAPI: Fix Parameter Serialization
- Obsidian: fix slugification
- UI: improve details
- Docs: introduce type-safe slugs option
2026-01-02 05:31:26 -08:00
Fuma Nama a3e53e051d Docs: refactor navigation guides 2025-12-31 15:18:43 +08:00
zeekay 4092401ccd fix: Update all fumadocs references to @hanzo namespace
- Renamed all package dependencies from fumadocs-* to @hanzo/docs-*
- Updated imports in source files across all packages
- Fixed @hanzo/docs facade package configuration
- Restored missing bun.ts and types.ts from upstream
- Fixed mdx-remote to mdx-runtime references
- Core packages (@hanzo/docs-core, @hanzo/docs-mdx, @hanzo/docs-ui) building successfully
2025-12-30 18:07:23 -08:00
zeekay ca2c2f21a1 Merge upstream fumadocs dev (27 commits)
- Synced with upstream fumadocs changes
- Accepted upstream changes for all conflicts
- Deleted files that no longer exist upstream
- Maintains @hanzo package namespace
2025-12-30 17:54:34 -08:00
Fuma Nama 78e0cf8945 Chore: migrate to oxfmt 2025-12-30 16:49:34 +08:00
zeekay ae6426b1a2 chore: complete fumadocs -> @hanzo/docs rebrand
- Rename all packages from fumadocs-* to @hanzo/docs-*
- Update all imports across apps, examples, and packages
- Update documentation and content references
- Sync lockfile with new package names
2025-12-17 14:49:52 -08:00
Fuma Nama 960e6a2992 Docs: migrate to fumadocs-ui/layouts/docs/page 2025-11-23 20:07:02 +08:00
Fuma Nama 845cc3ab51 UI: Prefer importing <RootProvider /> from fumadocs-ui/provider/<framework> 2025-10-01 23:18:02 +08:00
Fuma Nama f277cf34f3 update previous examples & add Tanstack Start i18n example 2025-08-19 17:23:24 +08:00
Fuma Nama 18295b4c91 UI: Fix callout margin 2025-04-22 16:38:59 +08:00
Fuma Nama 0c595f11bd make example for Python docs 2025-04-18 09:22:52 +08:00