redis / docs

Documentation for Redis, Redis Cloud, and Redis Enterprise
https://redis.io/docs/latest/
Other
15 stars 86 forks source link

Doc 3893 investigate dividers #394

Open andy-stark-redis opened 3 weeks ago

andy-stark-redis commented 3 weeks ago

Demo of the new sidebar ideas with collapsible sections. Note that this isn't going to be merged as it is, it's just a demo of the way the sidebar works to get feedback.

BTW, the sidebar is currently only active in the Develop With Redis section and it contains a random selection of rubbish just for the demo - it doesn't reflect the way we actually want the sidebar to look!

dwdougherty commented 2 weeks ago

I think I'd prefer that the section headers extend all the way to the right, leaving no whitespace on the right-hand side.

andy-stark-redis commented 2 weeks ago

Staging link, btw: https://redis.io/docs/staging/DOC-3893-investigate-dividers/develop/ (The auto linking thing only works for content changes.)

mich-elle-luna commented 2 weeks ago

I think this is looking really good, thank you! If you hit an in-page link will the menu open to that section/highlight that page? On the look/feel I really like the white text in the section heading and the icon, maybe the grey of the arrow icon could be a bit lighter? But, this is great improvement, thanks again!

andy-stark-redis commented 2 weeks ago

@mich-elle-luna Thanks for the suggestions! I'm trying CSS "darkgrey" for the arrows now. I've checked that in-page links work, but links from anywhere should work OK - the page doesn't remember the open/closed state of the foldouts when you click a link, it just loads with the current path through the folders opened as appropriate. In the future, I think we might want to consider having either a separate frame for the sidebar or dynamically-loaded content for the page so the sidebar doesn't "reset" to the top when you click a link. The current attempt is probably a good step on the way to that, though.