routify.dev icon indicating copy to clipboard operation
routify.dev copied to clipboard

Doc: sidebar

Open Wolfr opened this issue 5 years ago • 4 comments

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

Wolfr avatar Jun 01 '20 08:06 Wolfr

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

vercel[bot] avatar Jun 01 '20 08:06 vercel[bot]

Question @jakobrosenberg , if I set <!-- routify:options index=false --> on the blog pages, they disappear entirely. Can you check what is going on?

Wolfr avatar Jun 01 '20 09:06 Wolfr

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”)

Wolfr avatar Jun 01 '20 10:06 Wolfr

Hey, just wanted to show these. Ignore me if this is not an issue. Browser: Firefox latest

  1. Dual scrollbars on responsive / smaller screen. image

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

www-chique avatar Dec 15 '20 16:12 www-chique