-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 not found page #539
Comments
This sounds like a good idea. If a generated 404 page has the TOC down the side then at least people will know what pages are available and find the page's new location. Resolving this issue should be easy enough to do and would be a good entry-level PR, so I might copy this issue into the TWIR call for participation thread to see if anyone wants to take it. Rough OutlineFrom what I can see point 1 should just be a case of generating a blank page towards the end of the HTML renderer's You can then add a configuration switch to the Point 3 is also fairly straightforward, just document what was done in points 1 and 2 in the user guide. |
BTW, making the file |
I implemented something for my website that I am currently extending with a little search engine: |
Custom error pages are usually easy when developing custom application, and listening to HTTP directly. However, static site generator generates only static HTML files with resources. And, error pages depend on the server serving the static site. And, those servers might have a different way of defining error pages. And, a server might not respect For example, to define custom error pages for gitlab pages: https://docs.gitlab.com/ee/user/project/pages/introduction.html#custom-error-codes-pages |
Gitlab pages is yet another site that uses |
Closed via #1221. |
🎉 I am very happy to see this is implemented now 🎉 |
…d-page Generate 404.html page (rust-lang#539)
I noticed while renaming chapters people clicking old urls get a plain 404.
The text was updated successfully, but these errors were encountered: