Commit Graph
55 Commits
Author SHA1 Message Date
zeekay 7a694e66c8 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 51dc210efd fix(docs): normalize phantom names in CSS/astro/changeset/next-config (red review)
Follow-up to 18f2af90: 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 18f2af90.
2026-06-24 15:52:22 -07:00
zeekay cb29925570 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 5756e81984 merge: upstream/main (preserve Hanzo brand, 334 commits)
# Conflicts:
#	apps/docs/app/(home)/sponsors/data.tsx
#	apps/docs/app/(home)/uwu.tsx
#	apps/docs/app/og/[...slug]/generate.tsx
#	apps/docs/app/static.json/route.ts
#	apps/docs/content/blog/customise-ui.mdx
#	apps/docs/content/blog/mdx-v10-summary.mdx
#	apps/docs/content/blog/openapi-v9.mdx
#	apps/docs/content/blog/v15.mdx
#	apps/docs/content/blog/v16-2.mdx
#	apps/docs/content/docs/(framework)/deploying/static.mdx
#	apps/docs/content/docs/(framework)/integrations/content/custom.mdx
#	apps/docs/content/docs/(framework)/integrations/openapi/generate-files.mdx
#	apps/docs/content/docs/(framework)/integrations/openapi/server.mdx
#	apps/docs/content/docs/(framework)/integrations/story/client.story.tsx
#	apps/docs/content/docs/(framework)/integrations/story/index.mdx
#	apps/docs/content/docs/(framework)/integrations/story/next.mdx
#	apps/docs/content/docs/(framework)/search/orama.mdx
#	apps/docs/content/docs/(framework)/what-is-fumadocs.mdx
#	apps/docs/content/docs/cli/index.mdx
#	apps/docs/content/docs/headless/mdx/headings.mdx
#	apps/docs/content/docs/headless/mdx/rehype-code.mdx
#	apps/docs/content/docs/headless/mdx/remark-image.mdx
#	apps/docs/content/docs/headless/source-api/plugins.mdx
#	apps/docs/content/docs/mdx/(integrations)/loader/node.mdx
#	apps/docs/content/docs/mdx/global.mdx
#	apps/docs/content/docs/mdx/index.mdx
#	apps/docs/content/docs/ui/components/banner.mdx
#	apps/docs/content/docs/ui/components/graph-view.mdx
#	apps/docs/content/docs/ui/layouts/flux.mdx
#	apps/docs/content/docs/ui/layouts/home-layout.mdx
#	apps/docs/content/docs/ui/layouts/root-provider.mdx
#	apps/docs/content/docs/ui/theme.mdx
#	apps/docs/eslint.config.mjs
#	apps/docs/scripts/preload.ts
#	apps/docs/scripts/update-orama-index.ts
#	examples/openapi/README.md
#	examples/openapi/scripts/generate-docs.ts
#	examples/react-router-i18n/scripts/preload.ts
#	examples/tanstack-start-story/src/components/callout/story-client.tsx
#	packages/base-ui/scripts/compile-inline.utils.ts
#	packages/cli/src/build/index.ts
#	packages/core/src/content/md/frontmatter.ts
#	packages/create-app/scripts/update-git-repo.js
#	packages/create-app/scripts/update-git-repo.sh
#	packages/mdx-runtime/eslint.config.mjs
#	packages/openapi/scripts/compile-inline.utils.ts
#	packages/openapi/src/server/create.ts
#	packages/openapi/src/ui/full.tsx
#	packages/openapi/src/utils/process-document.ts
#	packages/press/waku.config.ts
#	packages/radix-ui/scripts/compile-inline.utils.ts
2026-06-02 09:55:12 -07:00
zeekay f906e9e100 merge: dev (aggressive theirs) 2026-06-01 18:31:05 -07:00
Fuma Nama b4f22b6627 Chore: unify .mdx suffix to .md 2026-05-05 15:12:14 +08:00
Fuma Nama 5476a72635 Docs: update for 16.8 2026-04-19 22:15:40 +08:00
Fuma Nama 1ffc5e314a Template: reuse appName for OG images 2026-04-08 15:34:50 +08:00
Fuma Nama 1fc36fea8f Twoslash: Force default options for TypeScript 6 2026-04-01 20:33:49 +08:00
Fuma Nama 80b4118299 Templates: improve scrollbar-gutter & react-remove-scroll 2026-04-01 19:41:39 +08:00
Fuma Nama 12c522ba74 Chore: set scrollbar-gutter by default 2026-03-26 22:26:00 +08:00
Fuma Namaandzeekay 5f2c0bbd22 Chore: include shared.ts in all templates 2026-03-24 19:00:15 -07:00
Fuma Nama cce8d18c38 Chore: include shared.ts in all templates 2026-03-24 23:42:04 +08:00
zeekay 3a8484ecae 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 b9d938a909 Chore: enforce type-safe MDX components universally 2026-03-10 19:59:51 +08:00
Fuma Nama 6540b15fd7 Docs: rename fumadocs-mdx:collections/ to collections/ universally 2026-03-10 17:28:26 +08:00
Fuma Nama 1159174ddb Chore: update examples 2026-03-09 21:30:42 +08:00
Fuma Nama 16b259ff7b Core: llms escape links 2026-03-06 21:07:00 +08:00
Fuma Nama abf7141c4b Waku: add LLM integration to template 2026-03-05 23:24:08 +08:00
zeekay e663dedc87 merge upstream fumadocs dev (66 commits up to 16.6.5) with Hanzo branding
Merges upstream commits 1ad82416..20cf96d42 from fuma-nama/fumadocs dev branch,
including:

- Core/UI/Base-UI version bump 16.5.3 -> 16.6.5
- OpenAPI version bump 10.3.4 -> 10.3.9 (3.2 support, server selector)
- TypeScript version bump 5.1.3 -> 5.1.4 (tag parser, type table ID)
- Markdown search improvements (inline elements, codeblocks, Vietnamese)
- CSS performance improvements and accessibility fixes
- MDX stringification using mdast-util-to-markdown
- Sidebar active link items support
- Mixedbread search moved to server-side
- Tailwind CSS plugin forwarding for module resolution
- Cursor integration replacing T3 Chat in templates
- Template cleanup (removed deprecated mdx-remote example)

All fumadocs-* packages renamed to @hanzo/docs-* namespace.
Removed duplicate +next+fuma-docs-mdx templates (using hanzo-docs-mdx).
Upstream metadata (homepage, repository) updated to Hanzo.
2026-02-23 13:04:49 -08:00
Fuma Nama 20cf96d429 Docs: update page-actions component 2026-02-23 19:35:48 +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 4f222bc721 React Router: configure LLM integration by default 2026-02-15 01:02:11 +08:00
zeekay 71016193e1 chore: post-merge cleanup and architecture review
- Remove orphaned packages/ui/ dir and examples/next-mdx/
- Fix hanzo-docs wrapper copy-css.js to use @hanzo/docs-* paths
- Fix radix-ui package name to @hanzo/docs-ui (not docs-radix-ui)
- Fix duplicate external in hanzo-docs tsup.config.ts
- Fix broken astro example import (fumadocs-core/toc)
- Fix create-app template git config (fuma-nama → hanzoai)
- Fix CSS class: not-fumadocs-codeblock → not-fd-codeblock
- Fix .github configs (FUNDING, issue templates, PR template)
- Fix remaining fumadocs branding in MDX content
- Update LLM.md with current architecture
2026-02-08 21:49:43 -08:00
zeekay 128af943b0 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 b6d6f74f91 chore: update examples to use @hanzo/docs-* packages 2026-01-23 22:00:33 -08:00
zeekay b5f3e770dc Merge upstream fumadocs main (resolve conflicts with upstream) 2026-01-20 11:03:36 -08:00
Fuma Nama 73381bb901 Chore: force <Suspense> in Tanstack Start templates 2026-01-13 16:36:36 +08:00
Fuma Nama 91fabee034 Docs: add props example for client loader 2026-01-06 19:45:29 +08:00
Fuma Nama e8171c346c refactor: remove all fumadocs references, rebrand to Hanzo Docs
- Renamed fumaMatter → parseFrontmatter
- Renamed fuma-matter.ts → frontmatter.ts
- Removed deprecated toFumadocsSource() method, keeping only toSource()
- Updated all type names: FumadocsDataMap → DocsDataMap, etc.
- Updated FumapressConfig → PressConfig, fumapress → hanzoPress
- Updated useFumadocsLoader → useDocsLoader
- Updated writeFumadocsRegistry → writeDocsRegistry
- Updated all README files with Hanzo Docs branding
- Updated create-app templates to use hanzoai/docs GitHub repo
- Updated all example files and documentation content
- Updated robots.txt, GitHub workflows, and issue templates
- Updated test fixtures with hanzo-docs.dev URLs
- Published updated packages to npm

BREAKING CHANGE: All fumadocs imports must be updated to use new names:
- fumaMatter → parseFrontmatter
- toFumadocsSource → toSource
- useFumadocsLoader → useDocsLoader
2025-12-31 14:35:57 -08:00
zeekay 46061a36f3 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 ed887bad06 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 7991d042a4 Chore: migrate to oxfmt 2025-12-30 16:49:34 +08:00
zeekay e790e0e8fb 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 b6e2720d71 migrate examples 2025-12-01 22:20:22 +08:00
Fuma Nama d317e47d75 UI: remove container styles 2025-11-27 23:17:38 +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 dbcc77f174 Docs: use non-RSC for React Router guides 2025-10-22 09:50:30 +08:00
Fuma Nama e3197d7248 Docs: rename source.generated.ts 2025-10-21 23:12:55 +08:00
Fuma Nama 6545990328 UI: Prefer importing <RootProvider /> from fumadocs-ui/provider/<framework> 2025-10-01 23:18:02 +08:00
Fuma Nama de54d1f15f experiment fumapress 2025-09-28 17:28:46 +08:00
Fuma Nama 99d132b5a5 experiment RSC support on React Router 2025-09-27 16:38:55 +08:00
Fuma Nama d526ef8f50 React Router: add baseOptions as a function 2025-08-18 19:17:18 +08:00
Fuma Nama 3e69b8f459 clean react router example 2025-07-21 20:00:53 +08:00
Fuma Nama 4e4286e13a MDX: Generate index file for Vite plugin 2025-07-20 20:44:28 +08:00
Fuma Nama 5a985c170c fix types 2025-07-19 21:21:34 +08:00
Fuma Nama 9e81b8a18f MDX: Stabilize Vite plugin support 2025-07-19 19:18:46 +08:00
Fuma Nama 944aeb0a5a CLI: update React Router & Tanstack Start templates 2025-07-15 14:28:53 +08:00