mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 06:31:49 +00:00
- New Fumadocs-based docs app at apps/dev-docs/ (port 3003) - Ported 16+ markdown docs from hanzoai/dev as MDX with navigation - Landing page with terminal preview, features grid, quick start - 28 docs pages: getting-started, usage, config, integrations, reference - Static export to out/ with shiki code highlighting - CI: add GITHUB_PAGES env, NODE_OPTIONS, SKIP_DTS for faster builds
16 lines
369 B
TypeScript
16 lines
369 B
TypeScript
// Pre-build script for Hanzo Dev docs
|
|
// Generates MDX collection files
|
|
|
|
import { execSync } from 'child_process';
|
|
|
|
console.log('Running pre-build...');
|
|
|
|
try {
|
|
// Generate MDX collections
|
|
execSync('npx @hanzo/docs-mdx', { stdio: 'inherit' });
|
|
console.log('Pre-build complete');
|
|
} catch (error) {
|
|
console.error('Pre-build failed:', error);
|
|
process.exit(1);
|
|
}
|