level - speced/respec GitHub Wiki
level
Type: number
Default: undefined
Sets the "level" of a leveled specification. Appends "Level N" to the document title and adds the level number to shortName. Used by CSS Working Group and other groups that publish progressive levels of a spec.
Basic usage
var respecConfig = {
level: 5,
shortName: "css-color",
// Title becomes: "CSS Color Level 5"
// shortName becomes: "css-color-5"
};
Notes
- Appends "Level N" to the document title
- Appends the level number to
shortName(e.g.css-color-5) - Level must be a non-negative integer
- ⚠️ Use with care — leveled specs are hard to maintain if multiple levels evolve concurrently. Only use if your working group has a clear leveling policy (like CSS WG does).