What’s in a knowledge base
Each repository gets:- An index - a high-level tour of the system: an architecture overview, a glossary, and a map of where the files live.
- Per-area docs - every significant module and end-to-end flow gets its own doc explaining what it does, how it connects to the rest of the system, where the risk areas are, and key files you should look at.
- A reverts section - a collection of past high-signal revert/rollback/incident PRs that are present in your repository.
Knowledge base generation
There’s no manual setup required. Greptile automatically updates the knowledge base.1
First build
The first time, Greptile does an initial scan of your repository and documents it end to end.
2
Stays in sync
After that, as you update your codebase, Greptile looks at the changes you’ve made and keeps the knowledge base updated.
Why it matters
Faster onboarding
New engineers can read the knowledge base to understand the system quickly.
Shared understanding
One living source of how your codebase works, maintained for you.
History-aware reviews
Reviews that also understand the setbacks you have encountered in the past.