You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Documentation Wiki Spaces Overview

Starting with 1.7.x, each major version of DSpace has its own Wiki Space.

  • Space ID: Each DSpace Documentation space has a "Space ID" of the following format: "DSDOCxx" (where 'xx' represents the version of DSpace)
  • General Space: The DSDOC (generic) space is used to inform people of all available DSpace Documentation, e.g. All Documentation, as well as provide a central place for these internal Documentation Management notes.
  • Space Header: Each DSpace Documentation space also has a header (see Documentation Space Headers below) which lets users know if it refers to an old, current or unreleased version of the software.
  • Shared Left Sidebar: The Left Sidebar on all Documentation Spaces is identical – it just loads the _DocLeftSidebar reusable content page. This is very powerful as it means that the sidebar on all existing Spaces can be edited from a single location.
    • Note: If you view the Wiki source, you'll notice that the _DocLeftSidebar actually assigns CSS classes to each Documentation link in the "All Documentation" list. This is so that each Documentation Space can have a custom CSS style which makes its listing appear bold when you are in that Space. For an example, see the DSDOC17, and DSDOC18 spaces – notice how different items in that listing are bolded. This is a custom CSS style enabled for each 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. Luckily, the "Copy Partial Space" plugin for Confluence makes this relatively easy to do.

Here's the steps:

  1. First, you need to login as an Administrative user and visit the homepage of the latest Documentation (e.g. DSDOC17)
  2. Under the "Tools" side-menu, select the "Copy into New Space" option (should be at the bottom)
  3. Select a new Space Name and Space Key (ID) for this brand new space. Make sure to follow our recommended Space ID naming conventions as described above.
    • Space Name Format: "DSpace #.x Documentation" (e.g. "DSpace 3.x Documentation")
    • Space Key (ID) format: "DSDOC#x" (e.g. DSDOC3x for 3.x Documentation)
  4. Once the new Space has been generated, visit the new Space. You'll need to change the main page name to match the new version number (e.g. "DSpace 3.x Documentation").
  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"
    • Go to "Browse -> Space Admin" and change the "Space Description" to have the correct version number (e.g. "Official docs for DSpace 3.x") and click "Save".
  6. 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.
  7. 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.

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:

  • Space Headers can be edited only by a Wiki Space Administrator
  • Visit "Browse -> Space Admin"
  • Click on "Themes" (Under "Look and Feel" section)
  • Click on "Configure Theme" (for the current Documentation Theme)
  • You'll see a "Header" field that you can fill out and click "Save"

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:

Current Release

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

Wiki Source:

{tip:title=Current Release}
This documentation covers the latest release of DSpace, version 1.8.0. 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:

Old Release

This documentation relates to an old version of DSpace.

Unknown macro: {spacejump}

(if it exists). Looking for another version? See all documentation.

Wiki Source:

{note:title=Old Release}
This documentation relates to an old version of DSpace. {spacejump:DSDOC18|alias=View this same page in the current documentation} (if it exists). 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:

Unreleased Documentation

This documentation is unreleased and still in development. It may describe features which are not yet released in DSpace.

Unknown macro: {spacejump}

(if it exists). 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.* \\ {spacejump:DSDOC18|alias=View this same page in the current documentation} (if it exists). 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 left sidebar can be edited only by a Wiki Space Administrator
  • Visit "Browse -> Space Admin"
  • Click on "Themes" (Under "Look and Feel" section)
  • Click on "Configure Theme" (for the current Documentation Theme)
  • In the "Navigation" field, you want to place the following Wiki Markup (which will cause the _DocLeftSidebar wiki page to appear as the sidebar):
    {include:DSDOC:_DocLeftSidebar}
  • Finally, click "Save"

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. This allows the sidebar to always be identical across all Documentation Spaces.

Reusable Content

Reusable content can be found on the ReusableContent child page.

  • No labels