Discover how a simple command can turn your complex data models into an easy-to-explore story everyone loves.
Why dbt docs serve? - Purpose & Use Cases
Imagine you just finished building a complex data model with many tables and relationships. Now, you want to share your work with your team so everyone understands the data flow and definitions. Without a tool, you might try to write documentation by hand or send spreadsheets with notes.
Manually writing and updating documentation is slow and easy to get wrong. It's hard to keep track of changes, and teammates often get confused or miss important details. This leads to wasted time answering questions and fixing misunderstandings.
Using dbt docs serve automatically creates a clear, interactive website showing your data models, their relationships, and descriptions. It updates instantly as your project changes, making it easy for everyone to explore and understand the data.
# Write docs in a separate file # Update manually every time models change # Share static files via email
dbt docs generate
dbt docs serve
# Instantly view and share interactive docs in your browserIt enables teams to explore and trust their data models easily, improving collaboration and speeding up decision-making.
A data analyst wants to understand how sales data is transformed before reporting. Instead of asking the engineer, they open the dbt docs site to see the full lineage and descriptions, saving time and avoiding confusion.
Manual documentation is slow and error-prone.
dbt docs serve creates live, interactive data model docs.
This improves team understanding and speeds up data work.