Commit Graph
174 Commits
Author SHA1 Message Date
zeekay e89a458485 merge main into rebrand (branch is canonical: build-green + @hanzo/docs-*) 2026-06-24 23:25:47 -07:00
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
zooqueenandHanzo Dev 87a3fca0a4 refactor(api)!: rename toFumadocsSource() -> toDocsSource() (brand-neutral)
Renames the public doc-collection method across runtime, types, examples
and create-app templates so the API carries no upstream brand. The
internal helper and all call sites move together; fumadocs-core package
imports are untouched. Pairs with the .docs default outDir change.

BREAKING CHANGE: docs.toFumadocsSource() is now docs.toDocsSource().

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-17 22:12:29 -07:00
zooqueenandHanzo Dev 59f665d73a fix(mdx): default outDir to .docs and align all templates/examples
The plugin default outDir was 'docs' while every template and example
tsconfig aliased collections/* -> ./.source/*, so a fresh fork could not
resolve `import { docs } from 'collections/server'` without manually
passing createMDX({ outDir }). Standardize on .docs everywhere:

- packages/mdx/src/core.ts: _Defaults.outDir 'docs' -> '.docs'
- 31 template/example tsconfig: collections/* -> ./.docs/*
- align generated-dir .gitignore entries to .docs
- changeset (patch)

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-17 22:12:29 -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 c86e79f1a2 chore: bump deps 2026-05-29 18:22:54 +08:00
Fuma Nama 383f8e614f chore: bump deps 2026-05-26 19:49:18 +08:00
Fuma Nama d9c91a0308 MDX: add more notes 2026-05-19 19:30:30 +08:00
Fuma Nama dfdc7179de Chore: bump deps 2026-05-18 19:44:58 +08:00
Fuma Nama cd7c5208cc chore: bump deps 2026-05-16 00:10:59 +08:00
Fuma Nama ae34a7ab35 Chore: Bump deps 2026-05-12 18:51:40 +08:00
Fuma Nama f6b9ba23f8 Press: fix HMR 2026-05-09 21:30:38 +08:00
Fuma Nama 90f7affc23 MDX: Make source config optional in Vite plugin 2026-05-08 16:28:55 +08:00
Fuma Nama 984d2b56d5 Bump deps 2026-05-07 22:40:49 +08:00
Fuma Nama b4f22b6627 Chore: unify .mdx suffix to .md 2026-05-05 15:12:14 +08:00
Fuma Nama 1223d2fd7b Sanity: ship content types via regsitry 2026-05-02 21:43:17 +08:00
Fuma Nama d7f5fc3295 Core: fix Shiki languages not loaded under lazy mode 2026-04-25 22:49:02 +08:00
Fuma Nama 6a36bfe1f6 Bump deps 2026-04-24 20:07:29 +08:00
Fuma Nama e67192179b Bump deps 2026-04-19 22:23:53 +08:00
Fuma Nama 5476a72635 Docs: update for 16.8 2026-04-19 22:15:40 +08:00
Fuma Nama bd73a91179 Bump deps 2026-04-15 13:44:07 +08:00
Fuma Nama d51d61bba6 Chore: bundle more deps 2026-04-12 13:41:16 +08:00
Fuma Nama 1ffc5e314a Template: reuse appName for OG images 2026-04-08 15:34:50 +08:00
Fuma Nama 4bb7283faf CLI: Clean unused files 2026-04-08 15:15:57 +08:00
Fuma NamaandGitHub a24de9d72e adopt Fuma CLI (#3194)
* Adopt Fuma CLI

* mark stable

* bump deps
2026-04-07 16:52:40 +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 39a425e1a4 Chore: bump deps 2026-03-27 18:56:19 +08:00
Fuma Nama 12c522ba74 Chore: set scrollbar-gutter by default 2026-03-26 22:26:00 +08:00
Fuma Nama 8c38750d69 Chore: bump deps 2026-03-25 19:58:00 +08:00
Fuma Namaandzeekay a14b1ca4ad Chore: migrate TypeScript 6 & Lucide 2026-03-24 19:01:44 -07:00
Fuma Namaandzeekay 5f2c0bbd22 Chore: include shared.ts in all templates 2026-03-24 19:00:15 -07:00
Fuma Nama 94b4f3ec83 Chore: migrate TypeScript 6 & Lucide 2026-03-24 23:59:05 +08:00
Fuma Nama cce8d18c38 Chore: include shared.ts in all templates 2026-03-24 23:42:04 +08:00
zeekay 775a5d111b docs: referral program service page — tiers, API, OSS fund, fraud prevention 2026-03-22 19:10:16 -07:00
zeekay e95fafe29d feat: merge upstream fumadocs 16.6+ (182 commits) and rename to @hanzo/docs-*
Upstream changes include:
- UI: improved TOC detection, clerk variant, slot support
- Base UI: redesigned home layout navigation menu
- CLI: slot support in customise command
- OpenAPI: unsetting auth fields in playground
- Multiple version package releases

All fumadocs-* imports renamed to @hanzo/docs-* namespace.
2026-03-22 18:43:20 -07:00
Fuma Nama 61adc9f29d Chore: Bump deps 2026-03-19 23:40:55 +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 b6439c4b0f Base UI: fix types 2026-03-13 23:58:05 +08:00
Fuma Nama 62cf09fae8 Chore: Migrate to Vite 8 2026-03-13 18:11:02 +08:00
Fuma Nama b05c0de1b6 UI: fix broken tsdown CSS logic 2026-03-11 17:07:54 +08: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 dc0f1f043b Chore: bump deps 2026-03-07 18:04:15 +08:00
Fuma Nama 16b259ff7b Core: llms escape links 2026-03-06 21:07:00 +08:00
Fuma Nama a4e4afc4d2 Bump deps 2026-03-05 23:27:10 +08:00