mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-07-27 04:31:57 +00:00
merge main into rebrand (branch is canonical: build-green + @hanzo/docs-*)
This commit is contained in:
@@ -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()`.
|
||||
@@ -12,7 +12,7 @@ on:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: hanzo-deploy-linux-amd64
|
||||
permissions:
|
||||
contents: read
|
||||
deployments: write
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: hanzo-build-linux-amd64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
@@ -18,7 +18,7 @@ permissions:
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: hanzo-build-linux-amd64
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: hanzo-build-linux-amd64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/node_modules
|
||||
|
||||
# generated content
|
||||
.source
|
||||
.docs
|
||||
|
||||
# test & build
|
||||
/coverage
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/node_modules
|
||||
|
||||
# generated content
|
||||
.source
|
||||
.docs
|
||||
|
||||
# test & build
|
||||
/coverage
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"@/*": ["./*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"jsx": "react-jsx",
|
||||
"incremental": true,
|
||||
"paths": {
|
||||
"collections/*": ["./.source/*"],
|
||||
"collections/*": ["./.docs/*"],
|
||||
"@/*": ["./*"]
|
||||
},
|
||||
"plugins": [
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
# React Router
|
||||
/.react-router/
|
||||
/build/
|
||||
docs
|
||||
.docs
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
# React Router
|
||||
/.react-router/
|
||||
/build/
|
||||
.source
|
||||
.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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
/node_modules/
|
||||
|
||||
dist
|
||||
.source
|
||||
.docs
|
||||
src/pages.gen.ts
|
||||
@@ -17,7 +17,7 @@
|
||||
"noEmit": true,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
|
||||
@@ -19,4 +19,4 @@ yarn.lock
|
||||
/playwright/.cache/
|
||||
.tanstack
|
||||
|
||||
docs
|
||||
.docs
|
||||
@@ -16,7 +16,7 @@
|
||||
"types": ["vite/client"],
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
},
|
||||
"noEmit": true
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -15,4 +15,4 @@ node_modules
|
||||
/playwright/.cache/
|
||||
.tanstack
|
||||
|
||||
.source
|
||||
.docs
|
||||
@@ -17,7 +17,7 @@
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
.source
|
||||
.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
|
||||
@@ -16,7 +16,7 @@
|
||||
"noEmit": true,
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"collections/*": ["./.source/*"]
|
||||
"collections/*": ["./.docs/*"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -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[]> {
|
||||
|
||||
Reference in New Issue
Block a user