Set default Pagetree depth in Documentation Theme

Andrew Townsend
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2011

Hi,

I'm wondering if there is an easy way to set the pagetree depth to 1 in the documentation theme? The pagetree that appears in the left-side navbar..

I had a look at the theme options but couldnt see anything..

1 answer

0 votes
David Dube
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2011

Are you wanting to limit the maximum depth or you just want to see the first level of children... allowing people to expand a particular entry?

If the latter, try unselecting "pagetree" in the theme configuration... then in the navigation add whatever code you want to customize the page tree (root, startdepth, etc) in the Navigation section.

Example:

{pagetree:startDepth=1}

You can also use the Show Expand Links, Show Collapse Links, or expandCollapseAll to roll up a brand or unravel a tree all at once.

Does that help?

bradley.nold@gmail.com
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 29, 2014

Is there also a way to limit the maximum page depth?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events