redis / docs

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

DOC-3967 Restructure sidebar #429

Open andy-stark-redis opened 1 month ago

andy-stark-redis commented 1 month ago

There are a few places where I've changed some of the content but it would be great if you could just have a play with the sidebar in the staging page and let me know if there is anything major missing or listed in the wrong order. Also, any further suggestions for styling are still welcome :-) BTW, only the Develop With Redis section has the sidebar for now. I'll also add some instructions elsewhere to explain how to add new pages to the index.

github-actions[bot] commented 1 month ago

Staging links:
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/commands/scan/
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/concepts/
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/concepts/keys-values
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/data-types/hashes
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/get-started/
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/get-started/data-store
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/quickstart/
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/develop/quickstart/faq
https://redis.io/docs/staging/DOC-3967-restructure-sidebar/operate/oss_and_stack/management/admin

andy-stark-redis commented 1 month ago

I've noticed a few glitches in the staged build of the docs, so I've added "do not merge" for now. I'll get them fixed ASAP.

mich-elle-luna commented 1 month ago

I'm not sure if it is possible to collapse the top level headings? I feel there are too many items open that it is overwhelming. If we could have the top-level collapsed and appear as normal text (no divider block of grey) it may feel less overwhelming and still enable readers to look at multiple categories. I'm not sure if it can actually work this way with Hugo, but this is what I'm thinking from left to right when you click where the arrow appears, the image to the right shows how it would appear: image

andy-stark-redis commented 1 month ago

@mich-elle-luna I think that having more top-level items open and clearly visible was a major part of this task (eg, you shouldn't have to dig down to see something as important as Search and Query). But yeah, I do agree that having too many top-level items isn't good either. I've collapsed the Reference section at the bottom, since it doesn't really need to be open. Also, it is part of the plan to remove the Use Redis section altogether, because those pages can easily be re-homed in better places (eg, Keyspace notifications should probably go in a folder with Pub/sub). I wanted to get some feedback about the general feel of the sidebar before removing Use Redis because this step will involve a bit of rewriting here and there. But if you think it's best to remove it before launching the new sidebar then I'm fine with that.

mich-elle-luna commented 1 month ago

Hi @andy-stark-redis thanks, collapsing reference definitely helps! For the styling, maybe we could replace the grey bar and just have these sections look like the other open sections with the left-side vertical grey line?