Commit Graph
59 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 e4d28a6e97 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
Fuma Nama 0f5942983d OpenAPI: Add Source API methods & Dynamic Source support to server 2026-05-18 19:42:18 +08:00
Fuma Nama 0efc31cf73 OpenAPI: improve Auth UI 2026-04-04 22:42:40 +08:00
Fuma Namaandzeekay 39fef03024 OpenAPI: Support meta.json file generation 2026-03-24 18:59:04 -07:00
Fuma Nama b609b631a3 OpenAPI: Support meta.json file generation 2026-03-24 23:00:37 +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 c9c23316d0 OpenAPI: Support code usage generator registry 2026-02-27 21:22:15 +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
Fuma Nama a01e07a360 OpenAPI: fix tests 2025-11-26 00:11:49 +08:00
Fuma Nama 0e2c50d968 update snapshots 2025-11-23 21:54:01 +08:00
Fuma NamaandFuma Nama 4cd6e5492f OpenAPI: Expect OpenAPI server to use generateFiles() 2025-11-04 21:11:09 +08:00
Fuma Nama f2f7d3727f OpenAPI: Generate Python objects for code examples 2025-10-24 18:58:30 +08:00
Fuma Nama 2cf6b09386 OpenAPI: fix generated route path 2025-10-04 23:45:33 +08:00
Fuma Nama f7e96fc943 OpenAPI: Generalize schema to pages 2025-10-04 21:56:29 +08:00
Fuma Nama 301b406098 Obsidian: support comment syntax 2025-08-29 21:36:00 +08:00
Fuma Nama 8718e8a2a6 OpenAPI: Unify input id and output documents 2025-08-28 15:03:57 +08:00
Fuma Nama 3bbaf1fe14 fix test output 2025-08-27 20:39:52 +08:00
30fa835e8f OpenAPI: Support generating index.mdx (#2245)
* OpenAPI: Support generating index.mdx

Motivation: Some openapi specifications have detailed descriptions that need to be displayed, however
generateFiles with per operation loses that description.  By using generateIndex option, we can leverage it as
the index.mdx of the folder of the generated API docs.

* Enhances generateFiles with additional boolean option generateIndex
* Adds isIndex parameter to name function
* Create generateIndex option to generate index containing title and index only APIPage

* Add changeset for openapi index file enhancement

* Remove accidental debugger

* Docs: Update integrations/openapi with generateIndex changes

* OpenAPI: Simplify generateIndex to index options

* Update to use index based on PR suggestions
* Reuse imports to add imports for getPageTreePeers and source
* Update tests

* Update documentation

* redesign `index` option

---------

Co-authored-by: Fuma Nama <[email protected]>
2025-08-27 17:08:12 +08:00
NicholasandGitHub c2dba0f6f5 Add Content-Type header & method option to OpenAPI JavaScript code example (#2096) 2025-07-19 13:22:23 +08:00
Fuma Nama c93607777d OpenAPI: Support Parameter Serialization 2025-07-08 21:30:39 +08:00
Fuma Nama 0ef20e173d update tests 2025-05-26 20:04:26 +08:00
Fuma Nama e92fc34a2f OpenAPI: redesign generateFiles() 2025-05-21 21:11:04 +08:00
Fuma Nama ec43ddfa15 OpenAPI: Lazy load media adapters on client side 2025-05-06 21:36:43 +08:00
Fuma Nama bf7854d0c6 bump deps 2025-05-04 20:31:16 +08:00
Fuma Nama 738138f2b0 OpenAPI: Support media adapter API 2025-05-04 19:47:05 +08:00
Fuma Nama a3daad8940 update snapshots 2025-03-12 20:14:42 +08:00
Fuma Nama 167b9282ee update unit tests 2025-03-07 23:19:27 +08:00
764bffe4cf Add comments to generated files indicating they were generated (#1512)
* feat: auto-gen comment

* Add addGeneratedComment option to OpenAPI.generateFiles

* adding back previous GenerateOptions, mistakenly removed

* ran prettier

* use mdx style format below the frontmatter

* minimizing changes to the existing codebase

* minimizing changes to the existing codebase

* run prettier

* fixing format of comment within example docs

* fixing issue with prettier removing formatting from JSX style comment within a MDX codeblock

* fix duplicated types

---------

Co-authored-by: Fuma Nama <[email protected]>
2025-03-03 19:09:14 +08:00
Fuma Nama ca81b9b638 Chore: update snapshots 2025-02-05 21:07:16 +08:00
Fuma NamaandGitHub 8661e15982 Openapi 3.1 (#1122)
* OpenAPI: update types

* improve OpenAPI 3.0 to 3.1 converter

* prepare for Scalar parser for 3.0 to 3.1 converter

* improve schema type utility

* Fix cyclic references without custom id/title

* Add scopes to auth schemes

* Support Webhooks

* Support generating webhooks docs

* fix tests

* Support operation callbacks

* prepare for merge

* fix conflicts

* make compatible with older OpenAPI versions

* fix issues
2024-11-30 17:00:24 +08:00
fuma-nama b30cc48111 OpenAPI: Support Python code sample 2024-08-19 23:23:44 +08:00
fuma-nama 8588d79b28 Core & OpenAPI: Improve Fumadocs OpenAPI support (TOC & Structured Data plugins) 2024-08-13 18:06:51 +08:00
fuma-nama 39147ca952 OpenAPI: Generate document field on output MDX files 2024-08-13 00:10:30 +08:00
fuma-nama 9526a0a7b2 OpenAPI: Fix compatibility issues on other content sources 2024-08-12 20:49:44 +08:00
fuma-nama 147f0caefe OpenAPI: Generate TOC and Structured Data statically 2024-08-08 16:36:42 +08:00
fuma-nama c8e0bdd271 OpenAPI: Support TOC & Search Index Generation 2024-08-08 14:41:03 +08:00
fuma-nama 994905d711 OpenAPI: Migrate to Server Component [experimental] 2024-08-08 01:11:31 +08:00
fuma-nama d361abd99b OpenAPI: Support Go Sample Request 2024-08-06 17:37:34 +08:00
fuma-nama dd322a6485 Core: Sort folders to bottom on Page Tree Builder 2024-08-06 00:16:10 +08:00
fuma-nama a506a39524 OpenAPI: Improve generated sample requests 2024-08-04 00:14:37 +08:00
fuma-nama 76556d1134 Update test snapshots 2024-07-31 16:52:46 +08:00
fuma-nama b6e8ba559f OpenAPI: Support custom authorization field 2024-07-27 13:02:50 +08:00
bb1841177c Feature | API Playground (#565)
* CHANGED:
- Added InteractiveButton component
- Updated APIInfo design and added ability to copy the endpoint url
- Installed shiki to fumadocs-ui
- Added api-context

Signed-off-by: kyrylolvov <[email protected]>

* CHANGED:
- Updated APIInfo to render differently depending on whether children are passed
- Added SendButton component

Signed-off-by: kyrylolvov <[email protected]>

* CHANGED:
- Added statusMap and getStatusInfo function which returns description and icon for response

Signed-off-by: kyrylolvov <[email protected]>

* CHANGED:
- Added a new CodeBlock component, which is used to render API response

Signed-off-by: kyrylolvov <[email protected]>

* CHANGED:
- Installed required radix-ui dependencies for input, label, form shadcn components
- Added APIPlayground and ArrayInput components to API

Signed-off-by: kyrylolvov <[email protected]>

* CHANGED:
- Updated defaultBaseUrl in RootProvider
- Fixed errors
- Updated docs

Signed-off-by: kyrylolvov <[email protected]>

* Update pnpm-lock

* Rewrite API Playground

* Clean code

* OpenAPI: Support passing base url to Root component

* Update lock file

* Update test snapshots

* Fix lint issues

* Update API usages

* OpenAPI & UI: Generate Playground from MDX files

* Fix problems

* Improve design

* Handle self-referencing types

* Clean code

* Add switcher UI

* Add unkey for testing

* OpenAPI: Combine `allOf` into one object schema

* Update unkey.json

* OpenAPI & UI: Support optional boolean values

* OpenAPI & UI: Support `additionalProperties` field

* Update test snapshots

* OpenAPI & UI: Clean code & support removing additional properties

* OpenAPI: Improve title generation

* UI: Improve implmentation

* OpenAPI & UI: Improve Implementation

* Remove unkey.json from docs

* OpenAPI & UI: Move UI part of OpenAPI to `fumadocs-openapi`

* OpenAPI & UI: Improve UI implementation

* OpenAPI: Fix dynamic references issues

* OpenAPI: Handle unregistering additional properties

* Docs: Rewrite docs

---------

Signed-off-by: kyrylolvov <[email protected]>
Co-authored-by: fuma-nama <[email protected]>
Co-authored-by: Fuma Nama <[email protected]>
2024-07-14 21:02:36 +08:00
fuma-nama 0c3f940e43 OpenAPI: Display complex types & self-referencing types 2024-07-08 16:12:03 +08:00
fuma-nama feb0ca0622 OpenAPI: Display object types mentioned in schema 2024-07-08 15:22:11 +08:00
fuma-nama 3a8562bfc4 OpenAPI: Support generating custom code examples 2024-06-29 12:41:07 +08:00
fuma-nama 2faac606d9 OpenAPI: Improve example request URL generation 2024-06-24 21:49:25 +08:00
fuma-nama 61b7ff11cf Update test snapshots 2024-06-21 21:48:38 +08:00
fuma-nama f2c386a7da OpenAPI: Support JavaScript request example & Authorization 2024-06-19 17:50:43 +08:00