Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table of contents generated from multiple sources #79

Open
simonarbuckle opened this issue Apr 23, 2014 · 2 comments
Open

Table of contents generated from multiple sources #79

simonarbuckle opened this issue Apr 23, 2014 · 2 comments

Comments

@simonarbuckle
Copy link
Collaborator

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.

@jakub-g
Copy link
Collaborator

jakub-g commented Apr 23, 2014

Indeed, it seems we didn't update the latter for quite a while..

@benouat
Copy link
Member

benouat commented May 5, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants