Re: [whatwg/streams] Make the table of contents more useful/less dense (#885)

True, I noticed Bikeshed is building.  Python's not my forte, but I hacked a "toc-collapsible" detection to add the scaffolding needed by implementing spec pages.  The implementing spec page could add CSS for all layout and a small JS click handler.  This allows per-page customization and decouples presentation/functionality from Bikeshed.

https://dev.anthum.com/pub/whatwg-streams-toc-expand.html

https://github.com/AnthumChris/bikeshed/commit/d04732bae6b3e861d2de50b7d548f7cc72fb19c1
https://github.com/AnthumChris/streams/commit/530917c6834094261a5006b2e03746c53a5e3a08

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/885#issuecomment-372083128

Received on Sunday, 11 March 2018 02:04:27 UTC