31 Commits
Author SHA1 Message Date
zeekay ad888ecc50 Serve search and chat at /v1, gate any /api path
Claude-Session: https://claude.ai/code/session_011i2AG9nwpiKUCVxAdDzYuU
2026-09-29 19:40:17 -07:00
e0734077e2 Scaffolded apps are born on Zen too
packages/create-app/.gitignore lists `template`, so every scanner that honours
ignore files walks straight past nine templates that are tracked in git and
shipped by @hanzo/create-docs. Four Next templates declared a face in the root
layout and two react-router ones linked a hosted font CDN from `links()`, which
means a freshly scaffolded docs site started life on someone else's typeface
and a third-party request on every route.

Same shape as the apps: `@import '@hanzo/font/css'` at the top of the template's
own sheet, one :root block naming Zen and Zen Mono as --font-sans / --font-mono,
and @hanzo/font in the template's dependencies. The waku template named no
family at all and fell through to the browser default, so it gets the same
mount rather than being left the one scaffold without a face.

(cherry picked from commit 734765bcf6fa78f395bd368e137f122367f6e02d)

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-03 23:51:23 -07:00
zeekay ada2f3d2ab rebrand: complete white-label — all packages @hanzo/docs-* (one brand)
Finish the fumadocs→Hanzo Docs rebrand: rename the remaining fuma-named
workspace packages and every reference so the framework is uniformly
@hanzo/docs-*. One brand, no Fuma in package names or product surface.

Package renames (name field + all refs: deps, imports, CSS @import,
configs, .changeset, next/vite build config):
  fumadocs-core        → @hanzo/docs-core
  fumadocs-mdx         → @hanzo/docs-mdx
  fumadocs-ui          → @hanzo/docs-ui          (packages/radix-ui)
  fumadocs-openapi     → @hanzo/docs-openapi
  fumadocs-preview     → @hanzo/docs-preview
  @fumadocs/base-ui    → @hanzo/docs-base-ui
  @fumadocs/basehub    → @hanzo/docs-basehub
  @fumadocs/language   → @hanzo/docs-language
  @fumadocs/local-md   → @hanzo/docs-local-md
  @fumadocs/sanity     → @hanzo/docs-sanity
  @fumadocs/shadcn     → @hanzo/docs-shadcn
  @fumadocs/vite       → @hanzo/docs-vite
  @fumari/stf          → @hanzo/docs-stf
  create-fumadocs-app  → @hanzo/create-docs
  create-fumadocs-versions → @hanzo/docs-create-versions

Stale @fumadocs/{cli,story,tailwind,mdx-remote,...} references collapsed to
their existing @hanzo/docs-* canonical packages (no dup created).

De-branded product strings: Fumadocs/Fuma prose → Hanzo Docs/Hanzo; site
branding, CLI output, doc copy, AI-assistant name, metadata. URLs
fumadocs.dev → docs.hanzo.ai, repo fuma-nama/fumadocs → hanzoai/docs.
Filesystem renames: packages/python/fumapy → hanzodocs_py, preview config,
what-is-fumadocs.mdx → what-is-hanzo-docs.mdx, api/fumadocs-ui route.

KEPT (real external npm deps / attribution — NOT renamed):
  fuma-cli, fuma-content, @fumari/json-schema-ts (published upstream pkgs),
  typesense-/trieve-fumadocs-adapter (3rd-party search adapters),
  LICENSE "Copyright (c) 2023 Fuma" (OSS attribution, all 7 LICENSE files
  untouched), CHANGELOG.md history (accurate release records, left as-is).

Build: node 24, pnpm install clean; all 4 target apps next build GREEN
(spec, gui-docs, zen-docs, base-docs) + full package closure (18/18 turbo).
Gate: zero @hanzo-package fumadocs-/@fumadocs/ references remain.
2026-06-24 23:21:42 -07:00
zeekay c49aa996fd fix(docs): normalize phantom names in CSS/astro/changeset/next-config (red review)
Follow-up to 903b1c38: the package-name normalization covered JS/TS imports +
package.json but missed four other surfaces that name the same phantom packages,
relocating the breakage from 'pnpm install' to 'next/vite/astro build':
- H1: 46 CSS @import strings (@hanzo/docs-{base-ui,ui,openapi}/css/*) → real pkgs
  (preserved legit @hanzo/docs-{twoslash,story} CSS)
- H2: examples/astro .astro imports (base-ui/mdx→fumadocs-ui/mdx, docs-core/toc→fumadocs-core/toc)
- L1: .changeset/config.json fixed-array lockstep names
- L2: removed apps/docs/next.config.mts dead phantom→phantom self-alias + dup keys
Found by adversarial red review of 903b1c38.
2026-06-24 15:52:22 -07:00
zeekay 868938c48b fix(docs): normalize phantom workspace package names — monorepo installs again
The fumadocs-fork rebrand left ~13 apps + examples referencing packages under
names that don't exist in the workspace (in BOTH directions: some kept
fumadocs-*, some became @hanzo/docs-*). pnpm install failed outright. Mapped
every reference (deps + imports, 607 source + 61 package.json) to the package
that actually exists, by suffix:
  @hanzo/docs-{core,mdx,ui,base-ui} → fumadocs-{core,mdx,ui} / @fumadocs/base-ui
  @fumadocs/{story,cli,mdx-remote,tailwind} → @hanzo/docs-{story,cli,...}
  fumadocs-{docgen,epub,twoslash,typescript} → @hanzo/docs-{...}
  drop phantom eslint-config-custom
Guarded @hanzo/docs-mdx vs -mdx-remote. Also fixes a pre-existing cli bug
(createConfigSchema referenced undefined isSrc) that blocked the package build.

Verified: pnpm install resolves clean (46.8s, was broken); package dist
regenerates phantom-free from the corrected source (hanzo-docs 430→0). Full
app build-green is blocked only by a node v26 toolchain bug in fumadocs-mdx's
config loader (repo targets node >=24.14; CI node builds it).
2026-06-24 15:17:27 -07:00
zeekay 3733786720 fix: publish all docs packages and fix changeset config
- Bump @hanzo/docs-mdx 14.2.11 -> 14.3.1 (surpass orphaned 14.3.0 on npm)
- Bump @hanzo/docs-docgen 3.0.8 -> 3.1.1 (surpass orphaned 3.1.0 on npm)
- Set changeset access to public for scoped @hanzo/* packages
- Update create-app templates to use getPageMarkdownUrl() helper
2026-03-29 05:22:54 -07:00
Fuma Nama 9eaa1fc7ef Docs: rename fumadocs-mdx:collections/ to collections/ universally 2026-03-10 17:28:26 +08:00
Fuma Nama 14d42200b2 format 2026-03-07 16:37:29 +08:00
Fuma Nama 4ab72016bc CLI: version 2026-02-15 16:15:12 +08:00
Fuma Nama d9b865fc75 init story 2026-01-15 21:12:17 +08:00
Fuma Nama 31595a0cc1 Chore: force <Suspense> in Tanstack Start templates 2026-01-13 16:36:36 +08:00
Fuma Nama 27e719e951 MDX: improve useContent() for optional props 2026-01-12 21:25:47 +08:00
Fuma Nama 86d63aa3a5 Chore: bump deps 2026-01-11 00:18:40 +08:00
Fuma Nama 78e0cf8945 Chore: migrate to oxfmt 2025-12-30 16:49:34 +08:00
Fuma Nama cbd92c74a9 Bump deps 2025-12-09 19:04:26 +08:00
Fuma Nama 960e6a2992 Docs: migrate to fumadocs-ui/layouts/docs/page 2025-11-23 20:07:02 +08:00
Fuma Nama 35656f7193 Refactor: migrate all internal projects 2025-11-15 17:13:58 +08:00
Fuma Nama 51d1520987 Chore: bump deps 2025-10-28 23:58:06 +08:00
Fuma Nama 7bc8047347 Templates: rename source.generated.ts 2025-10-21 23:18:14 +08:00
Fuma Nama f5c4353677 CLI: fix outdated Tanstack Start template 2025-10-10 00:12:45 +08:00
Fuma Nama 30fc3834a3 remove deprecated APIs from templates 2025-10-07 14:31:57 +08:00
Fuma Nama 845cc3ab51 UI: Prefer importing <RootProvider /> from fumadocs-ui/provider/<framework> 2025-10-01 23:18:02 +08:00
Fuma Nama 75cfe2531f Tanstack Start: upgrade to latest RC 2025-09-27 09:11:59 +08:00
Fuma Nama 16dc3adcfe bump deps & update deps 2025-08-31 16:14:40 +08:00
Fuma Nama 5b359fc2ee chore: consistent import alias 2025-08-20 14:58:47 +08:00
Fuma Nama 81d727fa62 Docs: consistent search guides for other React frameworks 2025-08-20 13:12:57 +08:00
Fuma Nama f277cf34f3 update previous examples & add Tanstack Start i18n example 2025-08-19 17:23:24 +08:00
Fuma Nama 8714f4846b CLI: Update Tanstack Start & React Router templates to use Fumadocs MDX 2025-07-21 21:13:46 +08:00
RayandGitHub 127b004b26 fix: apply prettier formatting to tanstack-start error component (#2095) 2025-07-19 09:39:12 +08:00
RayandGitHub 1fa7de1818 Fix Vite and Tanstack Router configuration warnings (#2092) 2025-07-18 08:37:38 +08:00
Fuma Nama 88243a80cb CLI: update React Router & Tanstack Start templates 2025-07-15 14:28:53 +08:00