Files
docs/apps/base-docs/scripts/pre-build.ts
zeekay 9d3f6a634f Add base-docs app for base.hanzo.ai with landing page, docs, and K8s deployment
New docs site for Hanzo Base following the monorepo docs framework pattern:
- Landing page with feature grid, quick start, and architecture highlights
- 9 documentation sections: getting-started, collections, auth, realtime,
  file-storage, cloud-functions, SDK (JS + Go), and deployment
- K8s manifests for base.hanzo.ai (static docs) and api.base.hanzo.ai
  (multi-tenant Base platform with IAM/KMS integration)
- Dockerfile with nginx for static export serving
- Monochrome Hanzo theme via neutral.css + Geist fonts
2026-02-27 10:00:39 -08:00

11 lines
282 B
TypeScript

import { execSync } from 'child_process';
console.log('Running pre-build...');
try {
execSync('pnpm exec docs-mdx', { stdio: 'inherit' });
console.log('Pre-build complete');
} catch (error) {
console.warn('Pre-build warning: docs-mdx not found, skipping MDX generation');
}