config/types Types
Type definitions from config/types.ts
config/types Types
Type definitions from config/types.ts
ArdoConfig
Main Ardo configuration.
In JSX-first architecture, only build-time options are needed here. Runtime UI configuration (header, sidebar, footer) is done in JSX.
HeadConfig
MarkdownConfig
NavItem
PageData
PageFrontmatter
type PageFrontmatter = { title?: string; description?: string; order?: number; collapsed?: boolean; layout?: "doc" | "home" | "page"; sidebar?: boolean; outline?: [number, number] | boolean | number; editLink?: boolean; lastUpdated?: boolean; prev?: { text: string; link: string } | false | string; next?: { text: string; link: string } | false | string; hero?: { name?: string; text?: string; tagline?: string; image?: { light: string; dark: string } | string; actions?: { text: string; link: string; theme?: "alt" | "brand" }[] }; features?: { icon?: string; title: string; details: string; link?: string; linkText?: string }[] } & Record<string, unknown>ProjectMeta
ResolvedConfig
type ResolvedConfig = { project: ProjectMeta; vite?: Record<string, unknown>; typedoc?: TypeDocConfig; root: string; contentDir: string } & Required<Omit<ArdoConfig, "buildHash" | "buildTime" | "project" | "typedoc" | "vite">>