UNPKG

rp-markdown-docs

Version:

A modern, beautiful documentation generator that converts markdown files into interactive HTML documentation sites

58 lines 1.33 kB
export interface DocSection { id: string; title: string; path: string; content?: string; children?: DocSection[]; parent?: string; order?: number; metadata?: { description?: string; tags?: string[]; lastModified?: string; author?: string; }; } export interface SearchResult { section: DocSection; score: number; matches: string[]; } export type ThemeName = 'dark-fantasy' | 'ultra-modern'; export interface ThemeContextType { theme: 'light' | 'dark'; themeName: ThemeName; toggleTheme: () => void; setThemeName: (name: ThemeName) => void; } export interface NavigationState { currentSection: string | null; expandedSections: Set<string>; searchQuery: string; searchResults: SearchResult[]; } export interface ThemeConfig { name: string; displayName: string; colors: { primary: string; secondary: string; accent: string; background: string; surface: string; text: string; textSecondary: string; border: string; }; fonts: { heading: string; body: string; mono: string; }; effects: { glow: boolean; particles: boolean; animations: boolean; }; } //# sourceMappingURL=index.d.ts.map