Resolver Pipeline
The resolver turns the consumer's plain docs config and graph into a normalized ResolvedDocsConfig. That resolved model is used by code generation, navigation, page metadata, sitemap output, and runtime layout context.
Pipeline shape
- Load
pages/+docs.ts. - Normalize site-level config such as
basePath,contentDir, theme, brand, head, social, and footer settings. - Walk sections, groups, pages, and aliases from the docs graph.
- Validate route uniqueness, source paths, and icon names.
- Produce resolved pages, sections, navbar items, top bar data, and runtime metadata.
The consumer-facing concept is covered in Deterministic Resolving.