# buildPagesManifest

**Kind:** Function

**Source:** [`atloria-monorepo/apps/api/src/docs-repo/sidecar.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/docs-repo/sidecar.ts#L155)

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

| Name | Type |
|---|---|
| `normalizerVersion` | `string` |
| `pages` | `PageIdentity[]` |

**Returns:** `string`
