Do you have existing content of documentation saved in different spaces? If you find this separated content difficult to manage, a solution for this could be to assemble all your existing content into one Scroll Document in the same space.

This is a tutorial which will guide you to define existing content as proper versions of a Scroll Document.

The tutorial consists of a process of steps which have been divided into three parts:

  1. Define your most up to date content as a Scroll Document (working version)

  2. Prepare a location to store previous and upcoming versions (in that same space)

  3. Move older content as proper versions to the new Scroll Document

1: Define your most up to date content as a Scroll Document (working version)

First you need to find the most up to date content of your documentation in Confluence. In the following steps we will define this content as the working version of a new Scroll Document:

  1. Navigate to space where your most up to date content lives.

  2. Navigate to the root page of your documentation.
    (info) Info: Please note, if the whole space is the most up to date content, you’ll need to go to the Space Overview page. That would be your root page.

  3. On the root page click on the Document toolbox > click Enable Scroll Documents, you should now be redirected to the Document Manager.

    (info) Info: If you for some reason are not redirected to the Document Manager after enabling Scroll Documents, click Scroll Documents in the Apps section and then on the document card belonging to your document.

2: Prepare a location to store previous and upcoming versions (in that same space)

You will now see that your most up to date content has been defined as the working version of your new Scroll Document. In that same space, we will now prepare a “home” to store all older versions. This will also be the location for all future versions. Now, continue with the steps below:

  1. In the Document Manager, click on the blue Save a version button > in the version dialog that will appear click Save.

  2. Click on the action button for the newly saved version (••• ) > click Delete .

  3. Make sure the boxes “Delete from Library?” and “Delete from Page Tree?” is checked > Next > click Delete.

  4. Go to Space Settings > Manage pages > click Reorder.

  5. In the reorder page tree, make sure that you can see a page with the name “Versions of….”. This is a special page that we need to store existing and new versions of your documentation.

Now that we have created our Scroll Document and located the “Versions of..” parent page, we are ready to move to the next part.

3: Move older content as proper versions to the new Scroll Document

We can now start moving any existing content (content that constitutes older versions) to this new Scroll Document and start defining these as proper versions of the document. To do this proceed with the following steps:

  1. Navigate to one of the spaces where you have content of an older version.

  2. Navigate to the root page of that content.
    (info) Info: Again, if the whole space is the content of an older version, you’ll need to go to the Space Overview page.

  3. On the root page click on the page tools icon (•••) > choose Copy to open the copy dialog:

    1. Select the space where the Working version is stored (the same space from Part-1).

    2. Select the “Versions of…” as parent page.

    3. Check the box “Include all X child pages” > click Next.

    4. Add a prefix in the field “Start all titles with,” please use a prefix format such as (VERSION_NAME) so the page title and prefix may look like this: (v1.0) Product Documentation
      Important: You should add a blank space after the last bracket in the prefix.

    5. Click Copy, this will copy all the pages over to the space with the Working version.

  4. Navigate to the space where you store the Working version.

  5. Click Scroll Documents in the Apps section.

  6. Select the document card belonging to your document.

  7. Click on the action icon (•••) next to the Publish button:

    1. Choose Advanced options > click Add existing page tree.

    2. Search for the root page of the page tree you just copied over and select it.

    3. Click Next.

    4. In the Basic tab make sure the version name is correct. If not, change it to reflect the correct value.

    5. Click Advanced and control so the prefix is also correct, make sure that the prefix is same as the name of the version.

    6. Click Save, this should add your copied page tree as a version to your document like in the screenshot below:

  8. Repeat steps 1-7f for each of the “older versions”/spaces you want to add as versions to your document.

  9. Check that all content got copied over as expected for each one of your new document versions.

When you have established that all content has been copied over as expected you can go ahead and delete the old spaces if you don’t want to keep them.