From a changed file to a published page.

Set it up once. After that, everything happens inside the pull request your agent already opens.

Set it up

  1. Connect your repository

    Install Endpaper's GitHub App and choose the repository. Name the deployment environment whose success publishes your docs.

  2. Connect your agent

    Give it Endpaper's MCP server address. It signs in as you, or uses a token for one site that can read and write but never publish.

  3. Set your style

    Choose a voice, add your terms, and start from a preset if you want one. The presets are drawn from the Google developer, Microsoft, GOV.UK and GitLab style guides; their owners didn't write or endorse them.

  4. Have your agent write the first pages

    Each page lists the files it describes.

  5. Put the site on your domain

    Add the domain and create the DNS record Endpaper shows you.

On every pull request

  1. Pages name their files

    Every page carries a list of the files or folders it describes. A folder covers everything inside it.

    You also name the folders that must be covered, such as every screen under src/app/. A new folder there that no page lists fails the check, so a new screen can't ship without a page.

  2. The docs check

    Endpaper's GitHub App posts a check named docs on every pull request. It compares the files the pull request changed with the sources of your pages.

    • Green when no page describes the changed files, or when every page that does was updated on this branch.
    • Red otherwise. The check lists each page by title and path.
    • Not checked when the pull request comes from a fork or goes into a branch other than your default branch. The check says so and blocks nothing.

    The App never comments on your pull request. Everything it has to say is in the check.

  3. Your agent updates the pages

    Over MCP, the agent asks which pages describe the files it changed. It opens a change set for its branch, which holds its edits until they publish together, and rewrites what's no longer true.

    Each change set is checked before it can publish: broken internal links, images with no alt text, missing summaries, components that don't exist, and your site's voice, templates and glossary. It also gets a preview link, so a reviewer can read the new page next to the code.

  4. “No docs change needed” is on the record

    A refactor can touch a file without changing what the page says. The agent then declares that no docs change is needed, with a reason. The reason shows in the check, where the reviewer sees it. It counts for that pull request and no other.

  5. Publishing waits for the deploy

    The change set publishes when the pull request merges into main and the deployment succeeds. A second check, docs publish, reports it.

    If another publish changed the same page first, nothing is overwritten. The change set goes back to the agent to bring up to date.

  6. Undo

    Every published version is kept, and nothing in the history can be edited or deleted. To undo a publish, revert it. The revert is one more entry in the history.

Make it required.

The check blocks a merge only if you require it. In your repository's branch protection, require docs and pin Endpaper's App as its source. No other workflow can then post a passing docs.

Your code
Endpaper's GitHub App never asks for the Contents permission. From a pull request it takes the list of changed files. Four permissions in all: checks (write), pull requests, deployments and metadata (read). It never comments; everything it says is in the check.
Your agent's token
One site, read and write. It can't publish, so it can't skip the pull request.
Every token
Shown once, stored only as a hash.
What you review
A diff of every page that changed, and a preview link to read the new page beside the code.
Your team
Owners, admins, editors and viewers. Anyone with edit rights can change a page in the web editor, through the same checks.
The history
Nothing in it can be edited or deleted. To undo a publish, revert it; the revert is one more entry.
The merge
docs blocks it once branch protection requires the check, pinned to Endpaper's App, so no other workflow can post a passing docs.

Make your agents do the docs properly.

Endpaper is in private beta, and teams are added one at a time.

Request access