Summary
...
space themes to the documentation theme and configure it in a standard way. |
Requires Atlassian Command Line Interface 2.6.0 or above.
Tipinfo |
---|
title | New OnDemand release |
---|
|
With the 2012/10/14 release, the former on demand documentation these is obsolete (backlevel) and Atlassian recommends using the standard documentation theme now. This page has been updated to that theme. |
Run the following commands with the following space list:
No Format |
---|
|
"INFO, ACLI, BCLI, BCLIP, CRDCLI, CRUCLI, CSOAP, FCLI, JCLI, BGTP, CACHE, DTBL, XL, FLASH, GVIZ, HTML, JSPR, LIBSEC, CMSP, RUN, LIBSCRPT, SCRP, SLID, SQL, TBL, CVP, WORD, CWP, CCLI, JCPP, CSOT, JSOAPLIB, CSOAPLIB, GINT" |
No Format |
---|
|
This site now uses a slightly different configuration for some spaces. The following is left as a good example for customers only. Go to the site documentation theme configuration page for current details. |
Use runFromSpaceList
If ALL spaces in the installation need to be configured like this, it is easier to use runFromSpaceList. Use should probably test with a single space first before doing multiple spaces.
No Format |
---|
title | Set Space Theme to Documentation Theme |
---|
|
atlassian confluence-bobswift -a runFromListrunFromSpaceList --common "-a renderRequest --request /spaces/dochoosetheme.action --requestParameters themeKey=com.atlassian.confluence.plugins.doctheme%3Adocumentation&changesSaved=true&key=@entry@" --list "ACLI,BCLI@space@"
|
No Format |
---|
title | Configure Documentation Theme |
---|
|
atlassian confluence-bobswift -a runFromListrunFromSpaceList --common "-a renderRequest --request /spaces/doctheme/doconfiguretheme.action --requestParameters spaceSearchEnabled=truefalse&navigationText=%7Bpagetree%3AstartDepth%3D2%7CsearchBox%3Dtrue%7D&headerText=%7Binclude%3Ainfo%3Astandard-header%7D%7Binclude%3Ainfo%3A_StandardHeader%7D&footerText=%7Binclude%3Ainfo%3Astandard-footer%7D%7Binclude%3Ainfo%3A_StandardFooter%7D&confirm=Save&key=@entry@@space@" --continue --list "ACLI,BCLI"
|
Use runFromSpaceList
...
Using runFromList
This allows the list of spaces to be a specific list. For example, this site uses a theme configuration that is dependent some specific categories of space.
No Format |
---|
title | Set Space Theme to Documentation Theme |
---|
|
atlassian confluence-bobswift -a runFromSpaceListrunFromList --common "-a renderRequest --request /spaces/dochoosetheme.action --requestParameters themeKey=com.atlassian.confluence.plugins.doctheme%3Adocumentation&changesSaved=true&key=@space@"
|
No Format |
---|
title | Configure Documentation Theme |
---|
|
atlassian confluence-bobswift -a runFromSpaceList --common "-a renderRequest --request /spaces/doctheme/doconfiguretheme.action --requestParameters spaceSearchEnabled=true&navigationText=%7Bpagetree%3AstartDepth%3D2%7CsearchBox%3Dtrue%7D&headerText=%7Binclude%3Ainfo%3Astandard-header%7D&footerText=%7Binclude%3Ainfo%3Astandard-footer%7D&confirm=Save&key=@space@" --continue
=@entry@" --list "ACLI,BCLI" |