Commit Graph
29 Commits
Author SHA1 Message Date
zeekay 084b847d33 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 7593cddcf7 fix(docs): normalize phantom names in CSS/astro/changeset/next-config (red review)
Follow-up to 4b114df1: 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 4b114df1.
2026-06-24 15:52:22 -07:00
zeekay bb90824285 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 925a590f8e 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 6540b15fd7 Docs: rename fumadocs-mdx:collections/ to collections/ universally 2026-03-10 17:28:26 +08:00
Fuma Nama bb4b74fc4f format 2026-03-07 16:37:29 +08:00
Kane WangandGitHub 955b918ee5 feat(create-app): add OpenGraph Image to template (#3023)
* feat(create-app): add OpenGraph Image to template

* format, add `ssr.external`

* add waku, fix template margin

* add next.config.mjs patch

* rewrite takumi docs page

* fix webp suffix

* sync create-app

* sync all `getPageImage`

* remove waku `rollupOptions`

* sync

* format

* fix meta property

* fix typo

* create `fumadocs-ui/og/takumi` entry

* add util `replace`, `replaceAll`

* update fs import

* format

* only create `og.ts` for React Router

* update Waku template to use source.ts
2026-02-22 16:49:24 +08:00
Fuma Nama e1f1dff05e CLI: version 2026-02-15 16:15:12 +08:00
Fuma Nama c4cec9e4cb init story 2026-01-15 21:12:17 +08:00
Fuma Nama 73381bb901 Chore: force <Suspense> in Tanstack Start templates 2026-01-13 16:36:36 +08:00
Fuma Nama 2ada2f6e14 MDX: improve useContent() for optional props 2026-01-12 21:25:47 +08:00
Fuma Nama d227b90f69 Chore: bump deps & fix peer deps 2026-01-09 13:47:43 +08:00
Fuma Nama 7991d042a4 Chore: migrate to oxfmt 2025-12-30 16:49:34 +08:00
Fuma Nama 7efa8df7d9 Bump deps 2025-12-09 19:04:26 +08:00
Fuma Nama afcf19347c Docs: migrate to fumadocs-ui/layouts/docs/page 2025-11-23 20:07:02 +08:00
Fuma Nama 1ddca55c38 Refactor: migrate all internal projects 2025-11-15 17:13:58 +08:00
Fuma Nama 17b16aa791 CLI: use scripts to sync templates 2025-10-23 19:22:53 +08:00
Fuma Nama e79299ac3c Templates: rename source.generated.ts 2025-10-21 23:18:14 +08:00
Fuma Nama 7a226e85d2 remove deprecated APIs from templates 2025-10-07 14:31:57 +08:00
Fuma Nama 6545990328 UI: Prefer importing <RootProvider /> from fumadocs-ui/provider/<framework> 2025-10-01 23:18:02 +08:00
JiraliteandGitHub 6b72ad2215 Fix React Router template imports (#2296) 2025-09-01 22:29:46 +08:00
Fuma Nama 1d934facf6 Docs: consistent search guides for other React frameworks 2025-08-20 13:12:57 +08:00
Fuma Nama 1913469edd update previous examples & add Tanstack Start i18n example 2025-08-19 17:23:24 +08:00
Fuma Nama f4242b704d CLI: Update Tanstack Start & React Router templates to use Fumadocs MDX 2025-07-21 21:13:46 +08:00
Fuma Nama 944aeb0a5a CLI: update React Router & Tanstack Start templates 2025-07-15 14:28:53 +08:00
Fuma Nama 8457692091 fix examples & bump deps 2025-06-07 20:19:29 +08:00
Fuma Nama e9fc458be5 UI: Make @source in global.css optional 2025-04-18 08:53:08 +08:00
Fuma Nama e9cb86cacc Update examples 2025-03-30 16:36:40 +08:00
Fuma Nama bc6d69b491 CLI: Add React Router example 2025-03-29 16:54:11 +08:00