🧩 Sync Docs in a Monorepo
Use this guide when your source code and documentation live in the same repository.
✅ Before You Start
- Install the DeepDocs GitHub App on the monorepo (sidebar → Install App on GitHub Repos).
- Pick the branch you want to keep in sync (typically
mainormaster).
🧭 Step-by-Step (UI Walkthrough)
- In the sidebar, select your monorepo.
- Open Repository Settings.
- Choose a Branch from the branch selector.
- In Source Code Context, select the folders/files that represent your product code (e.g.
apps/,packages/,services/). - In Target Docs, select the docs you want DeepDocs to keep updated (e.g.
docs/,README.md,guides/). - Click Start Scan.
✅ What Happens Next
- DeepDocs creates a
deepdocs-update/branch and opens a PR if docs are outdated. - Future commits on the same branch automatically trigger scans.
- You can pause or resume scans later using the Pause / Continue buttons in Repository Settings.