Data & AI glossary
Docs-as-code
A practice of writing documentation in the same files as the code, so that it is versioned, reviewed and published along with it.
IN PRACTICE
Documentation lives with the code.
The description of each table and each field is written next to the SQL, in the same repository. It is changed in the same change, reviewed by the same colleague, and a documentation site is generated automatically at each release to production.
For a luxury maison, the sheet for each field is produced from dbt and LookML, and a check blocks the release if it no longer matches the SQL: see the global media reporting case study.
The trap: documentation written separately, in a wiki, at the end of a project. It is wrong at the first change. The stakes grow with AI: an agent that cannot find the information makes it up. Up-to-date documentation, where it looks, is its first protection. It is also what feeds a data catalog.
GO FURTHER
Read next.
WHAT COMES NEXT, WE BUILD TOGETHER
Your next project
starts with a conversation.
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project