lwarp
lwarp copied to clipboard
Common side-TOC file.
Generate a single side-TOC file, and refer to it from each HTML page.
Currently the side-TOC is generated and compiled from scratch for each HTML page. Generate it once, store it in a file, and refer to it from each page. Possible significant improvement in compile times and page sizes, but reduces flexibility.
I ended up having to remove the side-TOC on a large document with several hundred html pages for exactly this reason.
Was the problem the compile time or the overall size of the resulting sideTOC?
I hope to come up with a way to create a collapsing sideTOC, and other improvements, but am low on time at the moment so this will take a while. Also, browser support is improving for a way to do this with static HTML instead of JavaScript.