(dir)
| 4 | |
| 5 | const docsRoot = path.resolve(process.cwd(), 'src/content/docs'); |
| 6 | |
| 7 | /** |
| 8 | * The status taxonomy. The ordering is deliberate: each value claims strictly |
| 9 | * more human attention than the one before it. |
| 10 | * |
| 11 | * generated — machine-emitted from src/data/moduleDocs.ts. Nobody has read it. |
| 12 | * draft — hand-written, known to be incomplete. Claims nothing. |
| 13 | * reviewed — a human read the page and it stands on its own. |
| 14 | * validated — reviewed AND checked against the code it describes. |
| 15 | * |
| 16 | * Each status names the date field that backs it. `draft` and `generated` cannot |
| 17 | * claim `last_validated`, because neither has been validated by anyone — that is |
| 18 | * the whole point of the taxonomy, and the gate below enforces it. |
| 19 | */ |
| 20 | const STATUS_DATE_FIELD = { |
| 21 | generated: 'last_generated', |
| 22 | draft: null, |
no outgoing calls
no test coverage detected