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 a custom 404 page #125

Open
neuromusic opened this issue Mar 1, 2022 · 5 comments
Open

add a custom 404 page #125

neuromusic opened this issue Mar 1, 2022 · 5 comments
Labels
enhancement New feature or request
Milestone

Comments

@neuromusic
Copy link
Collaborator

📚 Documentation

Currently, a 404 error yields a generic Github 404 page

image

Github pages supports custom 404 pages... my understanding is that they use whatever page is at /404.html

This should be fairly easy with sphinx by adding a top level 404 page that is hidden from the ToC

@neuromusic neuromusic added the documentation Improvements or additions to documentation label Mar 1, 2022
@melissawm
Copy link
Member

I believe this should be a napari/napari-sphinx-theme issue - should we migrate this there?

@neuromusic neuromusic transferred this issue from napari/napari Nov 8, 2022
@psobolewskiPhD
Copy link
Member

psobolewskiPhD commented Jan 18, 2024

I think this actually belongs in the deployed repo, so https://github.com/napari/napari.github.io
https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-custom-404-page-for-your-github-pages-site

@jni
Copy link
Member

jni commented Jan 20, 2024

Yes and no — I would like to avoid editing that repo manually as much as possible — ideally, we build the page in the docs repo as an unversioned page and it gets deployed from there. What do you think @psobolewskiPhD?

It would be fun to play with the island theme, something like "you're off the map" and an ocean theme with a weird fin sticking out of the water... 😃

@jni
Copy link
Member

jni commented Jan 20, 2024

(In fact, maybe it is a theme issue, and it just needs to go into the unversioned pages list...?)

@melissawm
Copy link
Member

I just saw this comment now so I might have to update napari/napari.github.io#394 😅 but I'm happy to do that.

@melissawm melissawm added enhancement New feature or request and removed documentation Improvements or additions to documentation labels Jun 28, 2024
@melissawm melissawm added this to the v0.4.1 milestone Jun 28, 2024
@melissawm melissawm moved this to Prioritized in Documentation Working Group Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Prioritized
Development

No branches or pull requests

4 participants