Doc: sidebar
Implement a sidebar layout for the docs.
This PR can be merged, this is already an improvement in the right direction.
- Mobile menu has been tested
To be fixed:
- [ ] Blog children are showing in the sidebar
- [ ] The third nav level (e.g. guide/installation/installation) is not showing in the sidebar
This pull request is being automatically deployed with Vercel (learn more). To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/jakobrosenberg/routify-2020/dpc9pjby0 ✅ Preview: https://routify-2020-git-docssidebar.jakobrosenberg.now.sh
Question @jakobrosenberg , if I set <!-- routify:options index=false --> on the blog pages, they disappear entirely. Can you check what is going on?
I've now set it up to use <svelte:self> but I could use some help @jakobrosenberg .
- Only show 3rd level nav when you are actually in the 2nd level item, otherwise the nav gets too busy
- Show the icons for Discord etc. (I need to pass the meta but I don't know how, the code is working in the commented out code at the bottom of
NavItems.svelte, but that tree is not “recursive”)
Hey, just wanted to show these. Ignore me if this is not an issue. Browser: Firefox latest
-
Dual scrollbars on responsive / smaller screen.

-
With the menu opened, and scrolling down, the "X" close button scrolls along with the body. Would be better if it doesn't scroll.
