This page tells you how to set up a copy of the Confluence documentation on your own local Confluence site.
On this page:
You may wish to run the documentation locally. In addition, you may want to point Confluence's links at your local documentation.
To set up your own Confluence site with a copy of our Confluence documentation:
Remove or adjust the customised header, footer and left-hand navigation bar in your new space.
Explanation: When you create your new space from our XML source code, the space will inherit the Confluence 'Documentation' theme. The XML source code also includes the customisations we have made to the header, footer and left-hand navigation bar. These customisations include references to our Atlassian Documentationspace. Since your Confluence site does not have that space, you will see errors like this in the left-hand navigation bar, header and footer in your new space:
Unable to render {include} Couldn't find a space with key: ALLDOC |
To fix these errors, take one of the following steps:
The Confluence documentation shares some content with other Atlassian products, such as JIRA. For the sake of efficiency, we reuse the same content across documentation spaces. You will notice that some of our pages contain an {include} macro that draws in content from another space.
For example, the following macro includes content from the Application Links (APPLINKS) space into the Confluence documentation space:
{include:APPLINKS:_securityTrustedApps}
|
You will need to import those documentation spaces into your Confluence site, to ensure that the reused content is accessible in your Confluence documentation.
We supply different versions of the documentation, for each version of the software or plugin concerned. To see which version you need, take a look at the space key in the {include} macro concerned.
012 means version 1.2, and 011 means version 1.1.Here is an example of an include macro that requires version 1.2 of the Application Links documentation:
{include:APPLINKS012:_securityTrustedApps}
|
This example requires the latest version of the Application Links documentation:
{include:APPLINKS:_securityTrustedApps}
|
Retrieve the relevant version of the XML backups from these pages:
In some parts of the Confluence user interface, you will see hyperlinks that point to the documentation for detailed information. These hyperlinks are Confluence's help links. You can redirect Confluence's help links to point to your local documentation.
There are two types of configuration changes you can make to the help property file:
The help links and base URL are contained in a property file. In summary, you will need to do the following:
To change the destination of your Confluence help links:
confluence-x.x.x.jar file from your {CONFLUENCE-INSTALLATION}\confluence\WEB-INF\lib directory and place it in a temporary location.confluence-x.x.x.jar file into your temporary location and copy the help-paths.properties file.help-paths.properties file into your {CONFLUENCE-INSTALLATION}\confluence\WEB-INF\classes directory.help-paths.properties file.Change the help prefix, found at the top of the file. By default, the help prefix looks like this:
help.prefix=http://docs.atlassian.com/confluence/docs-{0}/{1}
|
If you want to point your help links the 'DOC' space in your local Confluence site, your URL prefix will look like this:
help.prefix=http://confluence.mycompany.com/display/DOC/ |
In addition, you can use the following special characters in the URL:
If necessary, you can also change the individual page names to point to specific pages in your local documentation. You may want to do this if you are using a translated version of the documentation, for example, or your own custom guide rather than a copy of the Atlassian documentation.
The help links for each page are contained in a the same property file as the help prefix, described above.
To change the destination for each page:
help-paths.properties file into your {CONFLUENCE-INSTALLATION}\confluence\WEB-INF\classes directory, and edit your new help-paths.properties file.Change the individual page names to point to specific pages in your local documentation. In our example file below, the first key-value pair looks like this:
help.restore.site=Restoring+a+site |
You could change it to something like this:
help.restore.site=My+page+about+Restoring+Confluence |
Below is an example of part of the Confluence help-paths.properties file.
help.prefix=http://docs.atlassian.com/confluence/docs-{0}/{1}
## Page Names
help.restore.site=Restoring+a+site
help.manually.backup.site=Manually+Backing+Up+The+Site
help.configure.server.URL=Configuring+the+Server+Base+URL
help.configure.time.date.format=Configuring+Time+and+Date+Formats
help.edit.user.details=Editing+User+Details
|
The first line (help.prefix) shows the destination website of the help links. This value forms the first part of the destination URL.
Below the description '## Page Names' there are a number of key-value pairs.
help.restore.site) is an identifier used by Confluence to find the help link for a specific screen or dialogue.Restoring+a+site) is the URL-encoded page name that forms the last part of the destination URL.Here is an example of a Confluence screen with two help links, one on the words 'our online documentation' and another on 'More about daily backups':
Screenshot: Example of help links in Confluence

Make sure that you keep all the key-value pairs for the page names in the help-paths.properties file. If you want to point them all to the same location, you should retain all the keys and replace all the page names with the same name. For example:
help.prefix=http://myguide.mycompany.com ## Page Names help.restore.site=My+guide help.manually.backup.site=My+guide help.configure.server.URL=My+guide help.configure.time.date.format=My+guide help.edit.user.details=My+guide |
help-paths.properties file is currently in the confluence-x.x.x.jar in the WEB-INF/lib directory. Instead, it should be a config file in the WEB-INF/classes directory. This will make it easy for people to change the values in the file and repoint their help links. It will also standardise the help design with that of JIRA and other Atlassian applications. This issue is tracked at CONF-20105.