From 75db51aa908d94f0befcbfc3c69605c3543b78ae Mon Sep 17 00:00:00 2001 From: James Gallagher Date: Mon, 16 Oct 2023 09:00:12 +0100 Subject: [PATCH 1/2] 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 From 3d843d710dbf8154214d71ed9cf0c17fcc00f1b7 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 08:04:16 +0000 Subject: [PATCH 2/2] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20?= =?UTF-8?q?format=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_theme/404.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_theme/404.html b/custom_theme/404.html index 81639b40..4ce71946 100644 --- a/custom_theme/404.html +++ b/custom_theme/404.html @@ -1,7 +1,7 @@ -{% extends "main.html" %} +{% extends "main.html" %} {% block content %} -

Page Not Found

+

Page Not Found

The page you have requested was not found.

Go back to the documentation home.

-{% endblock %} \ No newline at end of file +{% endblock %}