Skip to content

Commit

Permalink
doc/user: add a custom 404 page
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
whot committed Aug 2, 2018
1 parent 62d0aa4 commit 548e0eb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/user/.htaccess
@@ -0,0 +1 @@
ErrorDocument 404 /404.html
12 changes: 12 additions & 0 deletions doc/user/404.html
@@ -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>
2 changes: 2 additions & 0 deletions doc/user/meson.build
Expand Up @@ -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',
Expand Down

0 comments on commit 548e0eb

Please sign in to comment.