UNPKG

@graphql-markdown/docusaurus

Version:

Docusaurus plugin for generating Markdown documentation from a GraphQL schema.

21 lines 716 B
/** * @module mdx * This module provides utilities for generating MDX index files in Docusaurus format. * * @packageDocumentation */ /** * Hook that materializes a `_category_.yml` file before Docusaurus indexes * a directory, ensuring generated bundles have labels, ordering, and * optional generated-index metadata even when the folder was produced by the CLI. * * @param event - Hook payload containing the target directory, category name, and generator options. */ export declare const beforeGenerateIndexMetafileHook: (event: { data: { dirPath: string; category: string; options?: Record<string, unknown>; }; }) => Promise<void>; //# sourceMappingURL=category.d.ts.map