Forums

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

Help to find the function

Oleksandr Proshyn December 30, 2021

Hi, i have PAGE with multiple Sub-pages created (3 levels in total).

How to create the TABLE OF CONTENT for the whole thing? i mean, to be able to see all the pages and sub-pages as the list of links.

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
December 30, 2021

The table of contents macro can only display headings on the current page, it's not a tree index of everything (that wouldn't be a table of contents)

You could append your child pages into the page and have this work, sort of.  Imagine you've got two child pages under a page, you could write the main page as:

{toc}

All the stuff you wanted on the main page

{expand:

h1. Sub-page 1

{include: sub-page 1}

h1. Sub-page 2

{include: sub-page 2}

end-expand}

I'm not sure that would be very pretty though.

Oleksandr Proshyn January 3, 2022

Thanks, it worked :)

1 vote
Zulfiqar Bin Zafar
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.
December 30, 2021

Hello @Oleksandr Proshyn 

Welcome to the community!

You can do the following steps in order to add the table of content.

To add the Table of Contents macro: 

  1. In the Confluence editor, select +> View more
  2. Find the item to be inserted and select it
  3. Select Insert

Thanks & Regards,

Zulfiqar Bin Zafar

Oleksandr Proshyn December 30, 2021

Dear @Zulfiqar Bin Zafar [Table of Contents] tool works with the content of ONE PAGE.

In my case, i've created a tree like:

1. Page
   1,1 Sub-page
   1.2 Sub-page
       1.2.1 Sub-Sub-page

And i would like to have table of content from all the sub-pages on one MAIN PAGE.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events