mrkarma4ya's avatar

[Concept] Laravel Docs would be much easier to navigate with a sticky index sidebar

Here's a quick concept drafted in PS:

https://i.imgur.com/dmNPL9C.jpg

0 likes
6 replies
bugsysha's avatar

Just press / on your keyboard and it will give you search and then navigate where ever you like.

Snapey's avatar

What do you mean by 'sticky' its hard to tell from a screenshot.

Edit: oh, you mean the links on the right? Yes, I guess so, but this is not the place to raise it.

mrkarma4ya's avatar

@bugsysha Wow, that's really handy!

Still, a Laravel beginner wouldn't really know what to search for, so a sticky highlight links would come in handy.

bugsysha's avatar

@mrkarma4ya I get your point, but that Algolia powered search is quite insane. I never scrolled too much through docs. Just look for what I know is there or what I expect to be there or what google pointed me to.

AngeloKarugo's avatar

I also thought the docs would be much better with the sidenav sticky. Tried raising a PR on the Laravel website repo but it was closed, ended up building a simple browser extension to add this behavior.

Snapey's avatar

I'd sooner see a search box that first offers your previous search for when I pick Arr mapWithKeys when I meant Collection mapWithKeys. I have to go back to search and re-enter my query.

Please or to participate in this conversation.