How it works
Code changes detected
A PR is merged or code is pushed to your main branch. Tembo detects the change via webhook.
Docs analyzed
The agent compares the code changes against your existing documentation to identify gaps, outdated sections, or missing pages.
Docs updated
A PR is opened in your docs repo with updated content that reflects the code changes.
Set up docs automation
On PR merge
Trigger: PR merged to main MCP Servers: GitHubWeekly docs review
Trigger: Weekly MCP Servers: GitHub, Notion, SlackBest practices
- Use a separate docs repo: Tembo can open PRs across repositories, so keep docs in their own repo for clean separation.
- Add rule files: Include a rule file in your docs repo with style guidelines, formatting conventions, and tone.
- Start with API docs: API documentation is the easiest to keep in sync since changes are mechanical and well-scoped.