From 75db51aa908d94f0befcbfc3c69605c3543b78ae Mon Sep 17 00:00:00 2001 From: James Gallagher Date: Mon, 16 Oct 2023 09:00:12 +0100 Subject: [PATCH] add 404 page --- custom_theme/404.html | 7 +++++++ mkdocs.yml | 1 + 2 files changed, 8 insertions(+) create mode 100644 custom_theme/404.html diff --git a/custom_theme/404.html b/custom_theme/404.html new file mode 100644 index 00000000..81639b40 --- /dev/null +++ b/custom_theme/404.html @@ -0,0 +1,7 @@ +{% extends "main.html" %} + +{% block content %} +

Page Not Found

+

The page you have requested was not found.

+

Go back to the documentation home.

+{% endblock %} \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 6528b238..e3816bd8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -76,6 +76,7 @@ theme: font: text: Roboto code: Roboto Mono + custom_dir: 'custom_theme' plugins: - mkdocstrings