typedoc.config.mjs•908 B
import packageJson from "./package.json" with { type: "json" };
/** @type {Partial<import("typedoc").TypeDocOptions>} */
export default {
// Output configuration
outputFileStrategy: "modules",
cleanOutputDir: false,
entryFileName: "REFERENCE.md",
readme: "none",
exclude: ["**/node_modules/**"],
gitRevision: `v${packageJson.version.replace(/-\w+$/, "")}`,
mergeModulesMergeMode: "project",
// Content organization
groupOrder: ["Functions", "*"],
excludeNotDocumented: true,
excludeInternal: true,
// Formatting options
parametersFormat: "table",
interfacePropertiesFormat: "table",
indexFormat: "table",
enumMembersFormat: "table",
typeDeclarationFormat: "table",
// Display options
hideBreadcrumbs: true,
hidePageHeader: true,
hidePageTitle: true,
// Plugins
plugin: ["typedoc-plugin-markdown", "typedoc-plugin-merge-modules", "typedoc-plugin-zod"],
};