how to build a table of contents

I want to build a Table of Contents out of my current Confluence pages within my project Space.

I also would not mind having an Index (where I could lookup a page by keyword).

These should be "easy", no?

5 answers

2 votes
Davin Studer Community Champion Jan 30, 2015

You could label your pages and the user the content by label macro on your table of contents page. So, using your example you would labels some pages as apple and others as orange. The on the TOC page you would have two content by label macros. One would display the apples and the other would display the oranges. Is this what you are looking for ... or something similar?

1 vote
Boris Berenberg Community Champion Jan 30, 2015

This is done automatically for you in the left bar of any space.

Screen Shot 2015-01-30 at 1.10.00 PM.png

Hey Tim,

The Table of Contents macro scans the headings on the current Confluence page to create a table of contents based on those headings. This helps readers find their way around lengthy pages, by summarising the content structure and providing links to headings.

In other words, you need to have headings to be able to build a table of contents.

Cheers,
WZ

While I appreciate your answers, this does not necessarily solve my issue.

I have some 20 pages (so far), I want to "sort" them into categories so the "apples" are in one "chapter" and the "oranges" in the next. The left margin does not do this by default, and the documentation of the tool is not always clear.

@Timothy Anido

If you want to "sort" pages into categories you can simply create the necessary file structure for that:

Create two new pages (that will work like a directory) and put your apple and orange pages in there, just as you would do in Window's explorer. To move the pages you can either use Tools > Move or Browse > Pages.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
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