Generate Types
Generate types without running dev/build server
Overview
You can run fumadocs-mdx to generate types & index file (e.g. the .source folder).
Optionally, you can run it in post install to ensure types are generated when initializing the project.
{
  "scripts": {
    "postinstall": "fumadocs-mdx"
  }
}If your project uses a custom path for configuration file or output directory, you can provide them as command arguments:
npx fumadocs-mdx <config-path> <output-dir>config-path: Fumadocs MDX config file, default tosource.config.ts.output-dir: Directory of generated files, default to.source.
How is this guide?
Last updated on
