how to expand page tree in Confluence 4.0 Documentation theme?

Is there some way to set the page tree in the Confluence 4.0 Documentation theme to be expanded to the first or second level by default?

1 answer

1 accepted

Hallo Robert

Yes. The Documentation theme uses the Page Tree macro, and uses the default settings for that macro. You can configure the theme to use the Page Tree macro with your own parameters defined.

Here is the documentation on how to configure the Documentation theme. You will need to deselect the 'Page Tree' check box then add your own page tree in the 'Navigation' text box:

http://confluence.atlassian.com/display/DOC/Configuring+the+Documentation+Theme

Here is the documentation for the Page Tree macro, showing how to use the "Start Depth" parameter for the macro:

http://confluence.atlassian.com/display/DOC/Page+Tree+Macro

I hope this answers the question. :)

Cheers, Sarah

Thanks. Is there documentation for the wiki markup somewhere? I had to edit a page, insert a Page Tree macro, and set the start depth to figure out what I needed to add to the theme configuration. I also want it to sort the page tree by "position" and it's not clear to me how to add the second parameter.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

867 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you