Skip to content

SpecConfig

Defined in: preprocess/types.ts:156

Normalized spec configuration

Internal representation derived from ReSpec-like config files. All optional fields have sensible defaults applied.

optional abstract: string

Defined in: preprocess/types.ts:188

Abstract text (if not in document body)


optional authors: PersonEntry[]

Defined in: preprocess/types.ts:185

Author list


optional copyright: string

Defined in: preprocess/types.ts:191

Copyright notice


optional editors: PersonEntry[]

Defined in: preprocess/types.ts:182

Editor list


optional latestVersion: string

Defined in: preprocess/types.ts:176

Latest version URL


optional license: string

Defined in: preprocess/types.ts:194

License URL


optional logos: object[]

Defined in: preprocess/types.ts:197

Additional logos

optional alt: string

optional href: string

src: string


optional maxTocLevel: number

Defined in: preprocess/types.ts:203

Maximum ToC depth


optional previousVersion: string

Defined in: preprocess/types.ts:179

Previous version URL


optional publishDate: string

Defined in: preprocess/types.ts:170

Publication date (ISO 8601: YYYY-MM-DD)


optional shortName: string

Defined in: preprocess/types.ts:161

Short name for URLs/references (e.g., “html”, “css-grid”)


optional specProfile: string

Defined in: preprocess/types.ts:206

Custom specification profile/variant


optional status: string

Defined in: preprocess/types.ts:167

Spec status (e.g., “ED”, “WD”, “CR”, “REC”, “NOTE”)


optional subtitle: string

Defined in: preprocess/types.ts:164

Subtitle or tagline


optional thisVersion: string

Defined in: preprocess/types.ts:173

This version URL


optional title: string

Defined in: preprocess/types.ts:158

Document title


optional tocEnabled: boolean

Defined in: preprocess/types.ts:200

Enable table of contents generation