Commit Graph
62 Commits
Author SHA1 Message Date
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 f3b95cca11 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 7d3b080cb1 merge: dev (aggressive theirs) 2026-06-01 18:31:05 -07:00
Fuma Nama 7a6ff319ac Chore: unify .mdx suffix to .md 2026-05-05 15:12:14 +08:00
Fuma Nama 563bdd4b02 Tanstack Start: improve example .md route 2026-05-05 14:22:29 +08:00
Fuma Nama 6d51a6c60c Docs: update for 16.8 2026-04-19 22:15:40 +08:00
Fuma Nama c4b2e30a5d Twoslash: Force default options for TypeScript 6 2026-04-01 20:33:49 +08:00
Fuma Nama e67d16f2ca Templates: improve scrollbar-gutter & react-remove-scroll 2026-04-01 19:41:39 +08:00
Fuma Nama 9359ca71b4 Chore: set scrollbar-gutter by default 2026-03-26 22:26:00 +08:00
Fuma Namaandzeekay d8b77af3ae Chore: include shared.ts in all templates 2026-03-24 19:00:15 -07:00
Fuma Nama 9f825a8a07 Chore: include shared.ts in all templates 2026-03-24 23:42:04 +08: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
Fuma Nama 9eaa1fc7ef Docs: rename fumadocs-mdx:collections/ to collections/ universally 2026-03-10 17:28:26 +08:00
Fuma Nama 52f91318e2 Chore: update examples 2026-03-09 21:30:42 +08:00
Fuma Nama b29b06c51b Core: llms escape links 2026-03-06 21:07:00 +08:00
Fuma Nama c3d5cf2dce Waku: add LLM integration to template 2026-03-05 23:24:08 +08:00
zeekay ef5b0b4f85 merge upstream fumadocs dev (66 commits up to 16.6.5) with Hanzo branding
Merges upstream commits a57b2646..159300157 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 1593001572 Docs: update page-actions component 2026-02-23 19:35:48 +08:00
Fuma Nama 5e0df62c50 Tanstack: configure LLM integration by default 2026-02-15 16:02:10 +08:00
zeekay 240cd14f02 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 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 895d5d70c8 chore: update examples to use @hanzo/docs-* packages 2026-01-23 22:00:33 -08:00
zeekay 72bab7643a Merge upstream fumadocs main (resolve conflicts with upstream) 2026-01-20 11:03:36 -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 1f6735dc86 Docs: update usage of useFumadocsLoader() 2026-01-10 18:05:24 +08:00
zeekay e137e8b8f9 Merge upstream/main into docs (resolve conflicts by accepting upstream) 2026-01-05 23:03:20 -08:00
Fuma Nama 85dfff3a19 Chore: bump deps 2026-01-01 16:02:12 +08:00
Fuma Nama 6e742d90d2 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 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 ca675b010c Core: make serialization API lower level 2025-12-01 22:10:02 +08:00
Fuma Nama 6c7e57404b Core: Support client-side loader 2025-11-30 22:08:06 +08:00
Fuma Nama 960e6a2992 Docs: migrate to fumadocs-ui/layouts/docs/page 2025-11-23 20:07:02 +08:00
Fuma Nama 1a1c122e5d include route trees 2025-11-16 19:53:32 +08:00
Fuma Nama 766c9e322f MDX: expose index-file plugin 2025-11-15 18:02:38 +08:00
Fuma Nama 35656f7193 Refactor: migrate all internal projects 2025-11-15 17:13:58 +08:00
Fuma Nama e99aceb4d5 MDX: improve client loader 2025-11-14 22:46:25 +08:00
Fuma Nama 51d1520987 Chore: bump deps 2025-10-28 23:58:06 +08:00
Fuma Nama 9dfff70ae1 Docs: rename source.generated.ts 2025-10-21 23:12:55 +08:00
Fuma Nama 9494daf53d MDX: Add useContent API to client loader for avoiding Lint errors 2025-10-12 13:14:57 +08:00
Fuma Nama f5c4353677 CLI: fix outdated Tanstack Start template 2025-10-10 00:12:45 +08:00
Fuma Nama 845cc3ab51 UI: Prefer importing <RootProvider /> from fumadocs-ui/provider/<framework> 2025-10-01 23:18:02 +08:00
Fuma Nama 0805a2f514 Chore: migrate from deprecated APIs 2025-09-30 20:10:56 +08:00
Fuma Nama 521be4fd53 Docs: introduce new APIs 2025-09-29 22:13:53 +08:00