Skip to content

buildPagesManifest

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/api/src/docs-repo/sidecar.ts

Build the pages manifest as a deterministic string. Pages are emitted sorted by path so the output is a pure function of the served set (no insertion-order dependence). Section order is PRESERVED (reading order carries meaning); screen slugs are sorted+deduped (a provenance set).

Signature

ts
function buildPagesManifest(normalizerVersion: string, pages: PageIdentity[]): string

Parameters

NameType
normalizerVersionstring
pagesPageIdentity[]

Returns: string

Was this page helpful?

Download as PDF