The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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?

TAGS
AUG Leaders

Atlassian Community Events