The Documentation theme is one of the themes bundled with Confluence. (See availability below). The theme is designed for spaces containing technical documentation, but you may find it useful for other types of content too. It provides an inbuilt table of contents for your wiki space, a configurable header and footer, and text styles suited to documentation. (See features below.)
|
The rest of this page gives more details of the above procedure.
On this page:
Screenshot: A wiki page using the Documentation theme

You need space administrator permissions to apply a theme to a space.
Follow the steps below to apply the 'Documentation Theme' to your space. All pages in the space will start using the theme immediately.
If you have site administrator permissions, you can apply the theme at site level. It will then be the default theme for all spaces in the site. See the administrator's guide to applying a theme. |
The theme works well without any customisation. If necessary, you can change the left-hand navigation panel and add your own header and footer.
To customise the Documentation theme,
|
Screenshot: The 'Configure theme' option

Screenshot: Customising the Documentation theme

If you have site administrator permissions, you can apply and customise the theme at site level. The customisation options are the same as the space level options, as described above. |
Screenshot: A customised header, footer and left-hand panel
{gliffy:name=Customised Documentation Theme|align=left|size=L} |
The above screenshot shows a wiki space with a customised left-hand panel, header and footer.
Here is a summary of the features that the Documentation theme provides:
The Documentation theme is bundled with Confluence 3.2 and later. If you have Confluence 3.1, your Confluence Administrator can download the theme from the Atlassian Plugin Exchange and install it as a plugin.
The theme is not available for versions of Confluence earlier than Confluence 3.1.
You can 'hide' pages by putting them at the same level as or higher than the space home page.
Each space has a single page designated as the 'Home' page. You can specify the home page in the space administration section.
The theme constructs the page tree in the left-hand panel from all pages that are child pages of the space’s home page.
If your documentation pages are at the same level as the space home page, they will not appear in the left-hand navigation bar. So you can 'hide' pages by putting them at the same level as or higher than the space home page. The pages will show up in the search results and people can see the content if they open the page, but the pages will not appear in the left-hand panel.
More detail: The theme uses the Pagetree macro to produce the table of contents. When entering the Pagetree macro, you can choose the top page in the page tree. The Documentation theme chooses the space home page as the top page.
You can use any text or wiki markup in your theme header, footer or left-hand panel. One useful hint is to use the Include or Excerpt Include to include re-usable content into your footer.
The screenshot above shows the theme customisation options, with examples of the macros used to include content from other pages. And the example screenshot also above shows the resulting header, footer and left-hand panel.
If you want to include your own content underneath the page tree, you can deselect the 'Page Tree' check box, add your own page tree using the Pagetree macro in the 'Navigation' text box, and then add your own content under the macro.
The screenshot above shows the theme customisation options, with the default page tree deselected and a custom page tree inserted, along with additional content in the left-hand panel. The example screenshot also above shows the resulting left-hand panel.
By default, the Documentation theme does not underline hyperlinks. If you prefer to have your links underlined, you can edit the CSS stylesheet for your space and add the following CSS code:
.wiki-content a:link, .wiki-content a:visited, .wiki-content a:active {
text-decoration: underline;
}
|
The {spacejump} macro is provided along with the Documentation theme. You can use space jumping to link from a page in one wiki space to a page with the same name in another space, without knowing the name of the page when you create the link. When a reader is viewing a page and clicks the link provided by the macro, they will go to a page with the same name, but in the space specified in the macro. See more about the Space Jump macro.
Using the Documentation Theme
Space Jump Macro
Applying a Theme to a Space
Applying a Theme to a Site
Editing a Space's Colour Scheme
Customising Look and Feel
Take me back to Confluence User's Guide