diff --git a/doc/user/.htaccess b/doc/user/.htaccess new file mode 100644 index 00000000..de377bfe --- /dev/null +++ b/doc/user/.htaccess @@ -0,0 +1 @@ +ErrorDocument 404 /404.html diff --git a/doc/user/404.html b/doc/user/404.html new file mode 100644 index 00000000..4a7a6372 --- /dev/null +++ b/doc/user/404.html @@ -0,0 +1,12 @@ + + Page not found + +

+ Oops, this page doesn't exist. Maybe it was moved in the recent + documentation cleanup. +

+

+ http://wayland.freedesktop.org/libinput/doc/latest/ +

+ + diff --git a/doc/user/meson.build b/doc/user/meson.build index 4e497465..f5a402e5 100644 --- a/doc/user/meson.build +++ b/doc/user/meson.build @@ -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',