Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add search to docs 404 page #1839

Open
bmorelli25 opened this issue May 13, 2020 · 0 comments
Open

Add search to docs 404 page #1839

bmorelli25 opened this issue May 13, 2020 · 0 comments
Labels
defer design Visual appearance of the built documentation enhancement Something we'd like to improve

Comments

@bmorelli25
Copy link
Member

No matter how good our docs are, there will always be users hitting 404s. In addition to the redirect strategy being discussed in #1820, can we add search to our 404 page?

As an example, here's a documentation 404. Anyone who hits that page will see this:

Screen Shot 2020-05-13 at 2 14 58 PM

It's fun, but it's not helpful. What would be helpful, is if the 404 page was able to display relevant search results based on the bad URL and provide a search box for users to craft their own searches. Based on the URL in this example, the 404 page might include something like this:

Screen Shot 2020-05-13 at 2 32 09 PM

A quick google search shows that smart 404 pages like this are actually a feature of Swiftype: Building a smart 404 page with Swiftype. 🐶🥫

@gtback gtback added design Visual appearance of the built documentation enhancement Something we'd like to improve labels May 14, 2020
@gtback gtback added the defer label Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defer design Visual appearance of the built documentation enhancement Something we'd like to improve
Projects
None yet
Development

No branches or pull requests

2 participants