Skip to content

Docs host previews

When Rimfe opens a docs pull request, your docs host usually builds a preview of it. Rimfe finds that preview from Mintlify, Vercel, Netlify, Cloudflare Workers Builds or Cloudflare Pages and links it beside the fix, so reviewers read the change as readers will. It needs no new GitHub permissions and builds nothing itself.

Updated

Supported hosts

Rimfe trusts only what the host's own GitHub App wrote. A comment from a person is never read, even if it looks like a preview comment.

HostWhat Rimfe reads
MintlifyThe comment from the Mintlify GitHub App.
VercelThe comment from the Vercel GitHub App. In a monorepo, the project whose folder holds the changed files wins.
NetlifyThe comment from the Netlify GitHub App.
Cloudflare Workers BuildsThe check run and the comment from the Cloudflare GitHub App. The branch preview link is preferred.
Cloudflare PagesThe check run and the comment from the Cloudflare Pages GitHub App.

Set it up

  • Turn on docs pull requests in Rimfe for the repository.
  • Connect the repository that holds the docs to your host's GitHub App and turn on pull request previews.
  • With a separate docs repository, connect the host there, because the docs pull request opens in that repository.
  • In a monorepo, point the host project at the folder that holds your docs.
  • Keep the host's pull request comment on. Cloudflare Workers Builds also reports the link in a check run, so it works either way.

How long Rimfe looks

Rimfe checks the docs pull request for about 10 minutes after it opens, with longer pauses between checks, and stops as soon as a preview is ready or the build fails. It edits the comment once when it finds the link. If nothing turns up in that time, it shows no link, reports no error and does not look again.

Plans and limits

  • Preview links come with docs pull requests, which every plan includes.
  • Rimfe does not build previews. If your host builds none, nothing changes.
  • On Cloudflare Workers, only builds that run wrangler versions upload produce a preview.
  • Docs on a Rimfe-hosted site have no docs pull request. You review those changes in Rimfe instead.

Try it on your next pull request.

Free for public repositories, with unlimited members.

Start free with GitHub