aframevr / aframe-site

:a: Official A-Frame site.
https://aframe.io/
MIT License
99 stars 141 forks source link

On desktop, for blog/documentation, display table of contents as a fixed floating panel on the right side #429

Closed ngokevin closed 6 years ago

ngokevin commented 7 years ago
  1. In Hexo template, create a Table of Contents div. You can see how we're displaying the existing inline table of contents, looping over all the headers, and generating links. Do something similar. The links should point to the heading anchors
  2. Style the Table of Contents. Ideally, it won't float/fix until the top of the window scrolls down upon it. After, it should be fixed/floating and visible at all times
screen shot 2017-05-02 at 4 41 55 pm

Would also be nice to:

  1. Add Suggest Edit button at the top right of the docs page
  2. Move search to sidebar
cvan commented 7 years ago

Are you trying out ReadMe.io? If so, can you send me a link of what you've got? Thanks 👍

ngokevin commented 7 years ago

It's https://whsjs.readme.io/docs

cvan commented 7 years ago

gotcha, should've noticed that from the screenshot - thanks

ngokevin commented 6 years ago

done