Skip to main content

compileGuidePage

Compile a page independently of the current sidebar, categories and translations.

Import​

import { compileGuidePage } from '@bedrock-core/builder-guides';

Signature​

function compileGuidePage(input: GuidePageInput): GuidePageCompilation;

Parameters​

ParameterTypeDefaultDescription
inputGuidePageInput—MDX source, page ID, language prefix and image/code constraints

Returns​

Parsed page content, generated language entries, link targets and diagnostics.

Notes​

Compiles a single page independently; current-set link and navigation checks belong to assembleLocale.