Skip to main content

DESIGN_TITLE_PREFIX

Constant DESIGN_TITLE_PREFIX 

Source
pub const DESIGN_TITLE_PREFIX: &str = "DESIGN: ";
Expand description

The issue-title prefix that makes a board issue a document.

A GitHub Projects board has no document type — it holds issues — so the discriminator is the title, and this is the whole of it: an issue whose title begins with these bytes is a document and every other issue is the task or project the sub-issue rule makes it.

It is spelled once, here, and read rather than restated everywhere else — including by the shared journeys, which take it from this constant so a board fixture cannot drift from what this source reads. docs/metadata.md records the two consequences that are not obvious from the bytes: the reported title has this prefix taken off, exactly as the body’s metadata slot is taken off content, and this prefix is read before the sub-issue rule, so a design issue with no sub-issues is never an empty project.