mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-24 10:10:36 +01:00
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:
parent
62d0aa4829
commit
548e0eb98b
3 changed files with 15 additions and 0 deletions
1
doc/user/.htaccess
Normal file
1
doc/user/.htaccess
Normal file
|
|
@ -0,0 +1 @@
|
|||
ErrorDocument 404 /404.html
|
||||
12
doc/user/404.html
Normal file
12
doc/user/404.html
Normal 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>
|
||||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue