Skip to main content
Tembo monitors your codebase for changes and automatically updates your documentation repo to keep features well-documented.

How it works

1

Code changes detected

A PR is merged or code is pushed to your main branch. Tembo detects the change via webhook.
2

Docs analyzed

The agent compares the code changes against your existing documentation to identify gaps, outdated sections, or missing pages.
3

Docs updated

A PR is opened in your docs repo with updated content that reflects the code changes.

Set up a docs agent

On PR merge

Trigger: PR merged to main MCP Servers: GitHub

Weekly docs review

Trigger: Weekly MCP Servers: GitHub, Notion, Slack

Best 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.