Documentation Wiki Spaces Overview

Each major version of DSpace has its own Wiki Space.

Copying Existing Docs to a New Space

In order to prepare for the next release, you obviously need to begin Unreleased Documentation early. The easiest way to do this is to generate a new Documentation Space for that unreleased version, and copy the latest Documentation over to that space. 

If something goes wrong with the process below. Don't worry!  You can always delete the new space & recreate it. Once a space is deleted, it's Space ID can be reused in a new Space!

Here's the steps:

  1. First, you need to login as an Administrative user
  2. Visit the Confluence Dashboard, and create a new Space for this new release
    1. Select "Documentation Space" option
    2. Space Name: DSpace #.x Documentation (e.g. "DSpace 8.x Documentation")
    3. Space ID: DSDOC#x (e.g. DSDOC8x for DSpace 8.x documentation) Make sure to follow our recommended Space ID naming conventions as described above.
  3. Copy the latest release documentation into this new Space
    1. Go to the latest release documentation homepage (e.g. DSDOC7x)
    2. Select "..." → "Copy" option
    3. Select Destination "Space" to be the newly created Space (from step 2 above)
    4. Select BOTH "Include attached files and images" AND "Include child pages" options.
    5. Click "Next"
    6. Make sure the Preview looks correct (You may need to move the homepage later).  Make sure all options are checked to include labels, attached files & restrictions.
    7. Click "Copy".  This may take a minute or two! The DSpace Documentation is very large.
  4. Once the content has been copied to the new Space, visit the new Space.
    1. In the "Space Tools" select "Reorder Pages". 
    2. Make sure the layout looks correct.  Likely the homepage of the old space will be under the (default) homepage of the new space.  If so, drag it out.
      1. E.g. it may look like "New Space Home" > "DSpace 7.x Documentation".  You want to drag the "DSpace 7.x Documentation" to the top level in order to make it the new homepage.
    3. Delete the default homepage of the new space. It is no longer needed once it has no children.
    4. Edit new homepage to match the new version number (e.g. "DSpace 7.x Documentation").  Also make any other necessary minor updates to the homepage
    5. Go to "Space Tools" → "Overview".  Change the "Home page" to be the newly copied content homepage.
    6. The various sections may end up resorted alphabetically. Check the last version and reorder the sections to the proper order (Using "View in Hierarchy" option).
  5. Next you'll need to tweak several Space settings to get it formatted similar to the rest of our Documentation. We'll start simple by tweaking the "Space Description"
  6. Now, change the logo for the space
    1. Go to "Space Tools → Configure Sidebar".  Click the edit icon next to the logo, and upload our DSpace logo
  7. Now, change the "Documentation Space Header" so that we have the "Unreleased Documentation Header" in place. The full instructions can be found below in the #Documentation Space Headers section.
  8. Now, change the Left Sidebar to load up the _DocLeftSidebar shared content (this displays the DSpace logo and list of recent versions). The full instructions can be found below in the #Documentation Shared Sidebar section.
  9. Modify the All Documentation wiki page to list this version of the Documentation, and make sure to note that it is UNRELEASED.
  10. Let's check/update the Space permissions / access rights
  11. Finally, to ensure everything was copied properly (and no links were "broken" in the process), you may want to look at these reports:

Documentation Space Headers

As mentioned above, on each Documentation Space we want to provide users with context information to let them know whether the Documentation they are looking at is current, and also give them information on how to get to current or older documentation (based on the version of DSpace they are using).

Editing Headers:

There are three types of headers we use on Documentation spaces.

Current Documentation Header

This header is used to notify users that the Documentation Space they are visiting is for the current version of DSpace:

What it looks like:

This documentation covers the latest release of DSpace, version 5.x. Looking for another version? See all documentation.

Wiki Source:

{tip:title=Current Release}
This documentation covers the latest release of DSpace, version 5.x. Looking for another version? [See all documentation|DSDOC:All Documentation].
{tip}

Old Documentation Header

This header is used to notify users that they are looking at an old version of the Documentation.

What it looks like:

This documentation relates to an old version of DSpace, version 4.x. Looking for another version? See all documentation.

Wiki Source:

{note:title=Old Release}
This documentation relates to an old version of DSpace, version 4.x. Looking for another version? [See all documentation|DSDOC:All Documentation].
{note}

Unreleased Documentation Header

This header is used to notify users that they are currently viewing documentation for an unreleased version of DSpace.

What it looks like:

This documentation is unreleased and still in development. It may describe features which are not yet released in DSpace.
Looking for another version? See all documentation

Wiki Source:

{warning:title=Unreleased Documentation}
This documentation is unreleased and still in development. *It may describe features which are not yet released in DSpace.* \\ Looking for another version? [See all documentation|DSDOC:All Documentation]
{warning}

Documentation Shared Sidebar

As mentioned above, on each Documentation Space we want to have a shared left sidebar which keeps all our Documentation looking similar in nature and allows users to more easily jump between versions of the Documentation. This shared left sidebar is actually a very simple Wiki page (see _DocLeftSidebar), which we load into the "navigation" section of each of the Documentation spaces.

Editing The Left Sidebar:

The final result is that, when you go back to the Space, you'll see that the contents of the _DocLeftSidebar wiki page now appear in the left sidebar. You'll also notice that this Space's name should appear bolded, and when you click on different versions of the Documentation those Space names should appear bolded instead. This allows the sidebar to always be identical across all Documentation Spaces, which makes it easier to manage across all our documentation.

Reusable Content

Reusable content can be found on the ReusableContent child page.