merge main into rebrand (branch is canonical: build-green + @hanzo/docs-*)

This commit is contained in:
zeekay
2026-06-24 23:25:47 -07:00
69 changed files with 77 additions and 68 deletions
+9
View File
@@ -0,0 +1,9 @@
---
"fumadocs-mdx": minor
"@fumadocs/content": minor
---
Two brand-neutral / zero-config fixes:
- **Default `outDir` is now `.docs`** (was `docs`), matching the `collections/*``./.docs/*` tsconfig alias used by every template and example. A fresh fork now resolves `import { docs } from 'collections/server'` out of the box with no `createMDX({ outDir })` override.
- **BREAKING: the doc-collection method `toFumadocsSource()` is renamed `toDocsSource()`** to keep the public API brand-neutral. Update `lib/source.ts`: `source: docs.toDocsSource()`.
+1 -1
View File
@@ -12,7 +12,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
runs-on: hanzo-deploy-linux-amd64
permissions:
contents: read
deployments: write
+1 -1
View File
@@ -78,7 +78,7 @@ jobs:
manifest:
needs: image
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: docker/login-action@v3
with:
+1 -1
View File
@@ -5,7 +5,7 @@ on:
jobs:
fix-domain:
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- name: Fetch CF credentials from KMS
id: kms
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
lint:
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@v6
+1 -1
View File
@@ -18,7 +18,7 @@ permissions:
jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -5,7 +5,7 @@ on:
jobs:
setup-domain:
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- name: Fetch CF credentials from KMS
id: kms
+1 -1
View File
@@ -13,7 +13,7 @@ permissions:
jobs:
sync:
name: Sync pricing from pricing.hanzo.ai
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@v4
+1 -1
View File
@@ -6,7 +6,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: hanzo-build-linux-amd64
steps:
- uses: actions/checkout@v6
+1 -1
View File
@@ -1,4 +1,4 @@
# LLM.md - Hanzo Docs Framework
# Hanzo Docs Framework
Fork of [Hanzo Docs](https://github.com/hanzoai/docs) with all packages renamed to `@hanzo/docs-*` namespace.
+1 -1
View File
@@ -2,7 +2,7 @@
/node_modules
# generated content
.source
.docs
# test & build
/coverage
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
/node_modules
# generated content
.source
.docs
# test & build
/coverage
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
/node_modules
# generated content
docs
.docs
# test & build
/coverage
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -2,7 +2,7 @@
/node_modules
# generated content
docs
.docs
# test & build
/coverage
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
+1 -1
View File
@@ -15,7 +15,7 @@
"jsx": "react-jsx",
"incremental": true,
"paths": {
"collections/*": ["./.source/*"],
"collections/*": ["./.docs/*"],
"@/*": ["./*"]
},
"plugins": [
+1 -1
View File
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
+1 -1
View File
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
.source
.docs
+1 -1
View File
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
+1 -1
View File
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
+1 -1
View File
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
+1 -1
View File
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
+1 -1
View File
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
+1 -1
View File
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
+1 -1
View File
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
+1 -1
View File
@@ -2,5 +2,5 @@
/node_modules/
dist
.source
.docs
src/pages.gen.ts
+1 -1
View File
@@ -17,7 +17,7 @@
"noEmit": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
}
},
"exclude": ["node_modules", "dist"]
+1 -1
View File
@@ -19,4 +19,4 @@ yarn.lock
/playwright/.cache/
.tanstack
docs
.docs
+1 -1
View File
@@ -16,7 +16,7 @@
"types": ["vite/client"],
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
.source
.docs
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
.source
.docs
+1 -1
View File
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
.source
.docs
@@ -17,7 +17,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
}
}
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
docs
.docs
+1 -1
View File
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
.source
.docs
+1 -1
View File
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
docs
.docs
+1 -1
View File
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
+1 -1
View File
@@ -2,5 +2,5 @@
/node_modules/
dist
docs
.docs
src/pages.gen.ts
+1 -1
View File
@@ -16,7 +16,7 @@
"noEmit": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
}
},
"exclude": ["node_modules", "dist"]
+1 -1
View File
@@ -2,5 +2,5 @@
/node_modules/
dist
docs
.docs
src/pages.gen.ts
+1 -1
View File
@@ -17,7 +17,7 @@
"noEmit": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
}
},
"exclude": ["node_modules", "dist"]
@@ -2,7 +2,7 @@
/node_modules
# generated content
docs
.docs
# test & build
/coverage
@@ -2,7 +2,7 @@
/node_modules
# generated content
docs
.docs
# test & build
/coverage
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
@@ -2,7 +2,7 @@
/node_modules
# generated content
docs
.docs
# test & build
/coverage
@@ -16,7 +16,7 @@
"incremental": true,
"paths": {
"@/*": ["./*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"plugins": [
{
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
@@ -4,4 +4,4 @@
# React Router
/.react-router/
/build/
docs
.docs
@@ -10,7 +10,7 @@
"rootDirs": [".", "./.react-router/types"],
"paths": {
"@/*": ["./app/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"esModuleInterop": true,
"verbatimModuleSyntax": true,
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
docs
.docs
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
@@ -15,4 +15,4 @@ node_modules
/playwright/.cache/
.tanstack
docs
.docs
@@ -16,7 +16,7 @@
"forceConsistentCasingInFileNames": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
},
"noEmit": true
}
@@ -2,5 +2,5 @@
/node_modules/
dist
docs
.docs
src/pages.gen.ts
@@ -17,7 +17,7 @@
"noEmit": true,
"paths": {
"@/*": ["./src/*"],
"collections/*": ["./.source/*"]
"collections/*": ["./.docs/*"]
}
},
"exclude": ["node_modules", "dist"]
+1 -1
View File
@@ -130,7 +130,7 @@ export interface EmitOutput {
export const _Defaults = {
configPath: 'source.config.ts',
outDir: 'docs',
outDir: '.docs',
};
async function getPlugins(pluginOptions: PluginOption[]): Promise<Plugin[]> {