Open simonarbuckle opened 10 years ago
Indeed, it seems we didn't update the latter for quite a while..
I think i remember that this was limited by Jade that does not support dynamic include. As it is also versionned, it should be handled as build time, and written in pure JavaScript string replacement.
There is an inconsistency in the way the table of contents is generated, this means that a writer will update the main table of contents page but will sometimes forget to update the table of contents menu popup.
Table of contents page source: https://github.com/ariatemplates/usermanual/blob/master/src/next/index.md https://github.com/ariatemplates/usermanual/blob/master/src/latest/index.md
Table of contents menu popup source: https://github.com/ariatemplates/usermanual/blob/master/resources/articles/navigationbar/next.jade https://github.com/ariatemplates/usermanual/blob/master/resources/articles/navigationbar/latest.jade
It would be cleaner to use just one source for all table of contents.