Files
docs/examples/astro/astro.config.mjs
zeekay e790e0e8fb chore: complete fumadocs -> @hanzo/docs rebrand
- Rename all packages from fumadocs-* to @hanzo/docs-*
- Update all imports across apps, examples, and packages
- Update documentation and content references
- Sync lockfile with new package names
2025-12-17 14:49:52 -08:00

33 lines
689 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwindcss from '@tailwindcss/vite';
import mdx from '@astrojs/mdx';
import {
rehypeCode,
remarkCodeTab,
remarkHeading,
remarkNpm,
remarkStructure,
} from '@hanzo/docs/core/mdx-plugins';
export default defineConfig({
integrations: [
react(),
mdx({
extendMarkdownConfig: false,
syntaxHighlight: false,
remarkPlugins: [
remarkHeading,
remarkCodeTab,
remarkNpm,
[remarkStructure, { exportAs: 'structuredData' }],
],
rehypePlugins: [rehypeCode],
}),
],
vite: {
plugins: [tailwindcss()],
},
});