Refreshing Table of Contents after document generation
- Dominant language
- Clojure
- Stars
- 132
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description

**Is your feature request related to a problem? Please describe.**
You can create a document with multiple headings and then use a docx feature called "Table of Contents" which will display table of contents based on those headings.
In LIbreOffice it's located here: Insert -> Table of Contents and Index -> Table of Contents, Index or Bibliography...
If you change the headings, you can regenerate table of contents in with Tools -> Update -> Update all
Some headings & sections in stencil can be hidden with if clause, which means table of contents becomes outdated.
**Describe the solution you'd like**
It would be nice to make stencil refresh table of contents after document gets compiled.
**Describe alternatives you've considered**
It's possible to resolve this issue manually by introducing additional step in the rendering process, by running virtualized libreoffice and asking it to refresh the contents.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.