UNPKG

react-vite-themes

Version:

A test/experimental React theme system created for learning purposes. Features atomic design components, SCSS variables, and dark/light theme support. Not intended for production use.

34 lines 1.09 kB
/** * Documentation Loader Utility * * This utility automatically loads and joins all .md files from the atoms components * using the raw-loader approach (Method 1). */ export interface ComponentDocumentation { componentName: string; content: string; filePath: string; } export interface JoinedDocumentation { title: string; tableOfContents: string[]; components: ComponentDocumentation[]; fullContent: string; } /** * Loads all .md files from atoms components and joins them into one comprehensive document */ export declare const loadAtomsDocumentation: () => Promise<JoinedDocumentation>; /** * Saves the joined documentation to a file */ export declare const saveJoinedDocumentation: () => Promise<string>; /** * Get documentation for a specific component */ export declare const getComponentDocumentation: (componentName: string) => Promise<ComponentDocumentation | null>; /** * Get list of all documented components */ export declare const getDocumentedComponents: () => Promise<string[]>; //# sourceMappingURL=documentationLoader.d.ts.map