You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs went stale silently because nothing checks them against the code — that is the root cause this epic is fixing, so the fix must include a guard against recurrence. docs/validate_docs.sh already exists; extend it (or add a test) into a real guardrail so this refresh stays true.
Work
A check that fails if docs reference deleted symbols: PriogridCountryMapper, mapping.py, geopandas, cachetools, shapefiles/, and disk/memory "cache" presented as a feature. (Scope the scan to docs/, README.md, and module README.mds — not the risk register / postmortems, which legitimately mention them historically; allow an explicit opt-out marker for intentional historical references.)
A check that internal doc links resolve (no dead relative links).
Wire it into CI (the existing workflow under .github/workflows/) or docs/validate_docs.sh, and document how to run it.
Acceptance criteria
Guardrail fails on a reintroduced deleted-symbol reference and on a broken doc link (prove with a temporary negative case, then revert).
Guardrail runs in CI or via a documented command, and is green on the refreshed docs (post S2–S5).
Temporarily reintroduce a banned token in a doc → red; revert → green.
Dependencies
Depends on S2, S3, S4, S5 — the docs must be correct before the guardrail is switched on (otherwise it lands red).
Notes
Files: docs/validate_docs.sh, .github/workflows/ (the lint/test workflow). Keep it lightweight — a grep-based check + a link checker is sufficient; no heavy doc-build tooling.
Activity
Merge pull request #83 from views-platform/docs/s6-doc-guardrail
fix(tests): iteration 3 — the scan was blind in a second house style,…