Changes from pull requests
Link code repositories to a hosted site so each pull request that makes a page wrong opens a change you review and publish in Rimfe.
A hosted site's pages live in Rimfe. When code changes, Rimfe checks the pages against the pull request and suggests the fix as a change on the site. You review it like any other draft and publish it once the code ships.
Link code repositories
Open the site's Settings, then Site, and choose Link repository under Code repositories. Only owners and admins can link a repository. Pick a repository and, if only part of it matters to these docs, list its Code folders, one per line, such as packages/api/**. Leave them empty to check every change.

A site can link up to 20 repositories, and one repository can link to several sites. Linking a site does not change how the repository's own docs are reviewed.
What happens on a pull request
- Rimfe reviews the pull request against the site's pages, next to any other docs the repository has. The check on the pull request is named after the site, for example
Rimfe (Acme Docs). - When a page is now wrong, Rimfe opens a change on the site and the pull request comment links to it: Review the docs change in Rimfe.
- New commits on the pull request update the change. Pages you edited yourself keep your edits.
- When the pull request merges, the change is ready to publish and everyone who can publish the site is told. When it closes without merging, the change is discarded.
Review and publish
Open the site's Content tab. Changes from pull requests lists each open change with its pull request and status:

| Status | Meaning |
|---|---|
| Waiting for merge | The pull request is still open. |
| Held until release | The pull request merged, but your release settings hold its docs until the release ships. |
| Ready to publish | Publish it like any other draft. |
Open a change to see each page as readers will see it, with the reason Rimfe suggested it. Leave out any page you don't want, then publish.
Docs sometimes need to go out before the code. Site managers can choose Publish now on a change that is still waiting.
Private sites
A private site's text never appears in the pull request comment. The comment links to the change in Rimfe instead.
Last updated