Hey,
I submitted some [1] patches [2] to add the sub-sections links for the current section [3]. It required some JS as handlebars doesn't allow comparison conditions without additional helpers (though, this isn't the approach that I took, should I?).
I was about to start work on auto-highlighting links as you scroll but had a few questions—
* Does the navigation remain fixed on the side of the page? * If the content overflows do we just hide it like the Bootstrap docs [4]?
The trello card mentions auto-expand, but as we have different pages for each section there is no list to expand to.
—prtksxna
[1] https://gerrit.wikimedia.org/r/158855 [2] https://gerrit.wikimedia.org/r/158856 [3] https://trello.com/c/ZusIHb5G/8-organise-components-under-a-ui-elements-sect... [4] http://getbootstrap.com/components/ [5] https://trello.com/c/tKKWz3fo/7-javascript-auto-expand-table-of-contents
You can see fixed sidebar and the highlighting links with this patch - https://gerrit.wikimedia.org/r/#/c/158858/
—prtksxna
Thanks for these Prateek. I have a bit of an e-mail backlog but will hopefully get a chance to look at these today!
On Sat, Sep 6, 2014 at 4:31 AM, Prateek Saxena psaxena@wikimedia.org wrote:
You can see fixed sidebar and the highlighting links with this patch - https://gerrit.wikimedia.org/r/#/c/158858/
—prtksxna