Change requests

Control your content edits through change requests.

A change request is a copy of your main content. It comes from the simple concept of branching, and will feel familiar to anyone who uses pull requests in GitHub or merge requests in GitLab.

In a change request, you can edit, update and delete elements of your content, request reviews on your changes, then merge them back into your main version to apply all the changes you made.

Note: You’ll need to open a change request to edit any content in any published space, any space that’s synced with GitHub or GitLab, or any space with locked live edits.

Product Demo

Creating a change request

Inside a space where live edits are disabled, click the Edit in change request button in the space header to start a new change request.

This will open a new change request, where you can edit or delete content as needed. Your changes are saved automatically, and other people can join you in a change request to collaborate in real-time.

Once you’re happy with your changes, you can use the button in the header bar to Request a review of your change request, or Merge it directly into the main branch.

Any member with an editor role can create and submit a change request, but only members with a reviewer role or above can merge it.

Preview a change request

You can preview the changes you've made in a change request through the preview button in the upper right corner. This will open up a window with your docs and the proposed changes in a staging environment, so you and your team can see your changes in the entire context of your published documentation.

If your content is published using share links or visitor authentication, the preview function won't appear.

Note: You can only preview change requests for spaces added to a published docs site.

Request a review on a change request

Request a review on your change request when you want to ask members of your team to check your content before you merge the changes into the main branch.

You can add a description to your change request to give your reviewers some context, and tag specific people that you want to check your work.

When you click Request review, the change request’s status will change to In review, and anyone you tagged in your review request will get a notification.

Note: If you don’t tag anyone in your review request, everyone with reviewer permissions or higher will get a notification about your request.

If your changes don’t require a review, you can merge your changes into the main version directly instead.

Merging a change request

Merging a change request will add the change request’s changes into the main branch of content, creating an updated version and a new entry in the space’s version history.

Handling merge conflicts

Sometimes, when you want to merge a change request, you may discover conflicts between the main content and the content you’re trying to merge. In the simplest form, a conflict is a piece of content that could not be merged automatically.

If this happens, you’ll be presented with a conflict alert, and a list of the conflicts you’ll need to resolve before continuing the merge.

Resolving merge conflicts

You have two options when it comes to resolving a merge conflict — selecting a version to merge or manually editing the content.

Selecting a version to merge

You can resolve a merge conflict by selecting a version you want to merge — either your incoming content, or the content that was previously there. This allows you to choose between one change and another — either your recent work, or the original content.

If you’re dealing with a merge conflict that can be resolved this way, you can select the version you want to keep, and the other version will be deleted.

Manually editing

If you don’t want to choose between versions, you can resolve a merge conflict by manually editing the conflict. You’ll be able to delete the blocks you don’t need, or even rewrite them entirely. Once you’re happy with the changes, you can move on to the next conflict until they’re all resolved.

Reviewing a change request

If you get a request to review a change request, you'll be able to edit the content and leave feedback to make sure it's in good shape before it’s merged to the main version. You can either request changes if you think it still needs work, or approve the change request, to signal it's ready to merge.

Most reviews will take place in the change request’s comments, where collaborators can share feedback and have discussions about specific content blocks, or the change request as a whole.

Diff view

Diff view allows you to toggle a view that makes it easy to see what’s been edited in a change request. It will highlight any edited pages in the space, and on the pages it will show the specific blocks that have been added, edited or removed.

There are two options for using diff view:

  1. All pages - this is the default mode for diff view, which will show both modified and non-modified pages in the table of contents. This is good for seeing which pages have been edited in the context of the entire space.

  2. Only changes - this mode will show only the modified pages in the table of contents, which helps you focus on the changed content. This is particularly helpful in larger spaces with many pages and sub-pages.

You can toggle diff view on or off in any change request.

Remember: Members with an editor role can create and submit requests, but only members with a reviewer role or above can merge change requests.

Archiving a change request

If you decide not to merge a change request and want to remove it from the queue, you can archive it.

Last updated