Summary
If I add a TOC macro to the sidebar the links do not work
Steps to Reproduce
- Install Confluence 5.9.12 or Confluence 5.10.1
- Create a page with some headings
- Go to Space Tools>Look and Feel>sidebar, header and footer
- Paste this into the sidebar field:
{toc:maxLevel=2|style=disc|indent=10px|absoluteURL=false}
or even simply
Expected Results
The links from the TOC would lead to the headings on the page
Actual Results
An invalid URL is created by the links in the sidebar. Please see attached screenshots showing the TOC URLs created by:
- clicking on a TOC macro link in a page


compared to
- clicking on a TOC macro link in the sidebar


Workaround
Adding absoluteUrl=true to the wiki markup for the sidebar helps for some instances.
"Zero-config TOC as retractable sidebar" is a significant feature to navigate long policy documents. Slab has it OOTB: