PG-407 Added a 404 page to docs

new file:   docs/overrides/404.html
	modified:   mkdocs.yml
pull/216/head
Anastasia Alexadrova 2022-05-03 16:38:05 +02:00
parent d26a5a3faf
commit d1282620ea
2 changed files with 11 additions and 0 deletions

9
docs/overrides/404.html Normal file
View File

@ -0,0 +1,9 @@
{#-
This file was automatically generated - do not edit
-#}
{% extends "main.html" %}
{% block content %}
<h1>404 - Not found</h1>
<p>
We can't find the page you are looking for. Try using the Search or <a href= "{{ config.extra.homepage | d(nav.homepage.url, true) | url }}"> return to homepage </a>. </p>
{% endblock %}

View File

@ -16,6 +16,8 @@ theme:
name: material
logo: _images/percona-logo.svg
favicon: _images/percona-favicon.ico
custom_dir: docs/overrides
palette:
# Light mode