add 404 page

This commit is contained in:
James Gallagher 2023-10-16 09:00:12 +01:00
parent 9ded70c8da
commit 75db51aa90
2 changed files with 8 additions and 0 deletions

7
custom_theme/404.html Normal file
View File

@ -0,0 +1,7 @@
{% extends "main.html" %}
{% block content %}
<h1>Page Not Found</h1>
<p>The page you have requested was not found.</p>
<p><a href="/">Go back to the documentation home</a>.</p>
{% endblock %}

View File

@ -76,6 +76,7 @@ theme:
font:
text: Roboto
code: Roboto Mono
custom_dir: 'custom_theme'
plugins:
- mkdocstrings