mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-26 10:55:57 +00:00
- 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
33 lines
689 B
JavaScript
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()],
|
|
},
|
|
});
|