solidjs / solid-docs

SolidJS Docs.
https://docs.solidjs.com/
214 stars 244 forks source link

Empty "start" entry should redirect to start.solidjs.com #149

Closed gbj closed 1 year ago

gbj commented 1 year ago

I found this on iOS and thought it was going to be a really annoying Safari bug. It turns out it's much easier (hopefully).

Currently the top Google result for "Solid Start docs" (#3 on DuckDuckGo) is docs.solidjs.com/start This renders the menu, with a blank page, and the interactive preferences that do nothing (because there's no page content). This makes it seem like the page is broken. (Confusingly, it doesn't render the 404 page it would render for a garbage URL, which would be better than the blank one!)

In reality, I'm pretty sure this should be something like a 301 redirect to start.solidjs.com, the actual docs for Solid Start.

gbj commented 1 year ago

Ok, quick look and it's this file that's the issue of course... it's just an <Outlet/> so the fact that it renders (and is not a 404) but is blank makes perfect sense. Is there actually a child route anywhere or should it be a 404 or maybe <Navigate href={https://start.solidjs.com}/>