doc/user: add a custom 404 page

Things moved around, so let's have a custom 404 page where we can put
information in. This ist the barebones version, not sure if .htaccess is
supported.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-08-02 11:01:50 +10:00
parent 62d0aa4829
commit 548e0eb98b
3 changed files with 15 additions and 0 deletions

1
doc/user/.htaccess Normal file
View file

@ -0,0 +1 @@
ErrorDocument 404 /404.html

12
doc/user/404.html Normal file
View file

@ -0,0 +1,12 @@
<html>
<head><title>Page not found</title></head>
<body>
<p>
Oops, this page doesn't exist. Maybe it was moved in the recent
documentation cleanup.
</p>
<p>
<a href="http://wayland.freedesktop.org/libinput/doc/latest/">http://wayland.freedesktop.org/libinput/doc/latest/</a>
</p>
</body>
</html>

View file

@ -21,6 +21,8 @@ sphinx_conf_py = configure_file(input : 'conf.py.in',
install : false)
src_extra = [
'.htaccess',
'404.html',
# dot drawings
'dot/seats-sketch.gv',
'dot/seats-sketch-libinput.gv',