mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-20 01:52:49 +00:00
docs: use http-redirect when possible
GitLab Pages has added a feature to do proper HTTP redirects, which are genreally better than the HTML redirects we currently use. Unfortunately, it doesn't support redirecting to other domains, all paths must start with a slash. So there's sadly *one* redirect this doesn't work for. So let's leave that one using a HTML redirect, and use HTTP redirects when we can. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14369>
This commit is contained in:
parent
53426d26c3
commit
f07f4d5ec5
9
docs/_extra/_redirects
Normal file
9
docs/_extra/_redirects
Normal file
@ -0,0 +1,9 @@
|
||||
/drivers/vmware-guest.html /drivers/svga3d.html 301
|
||||
/gallium/drivers/freedreno.html /drivers/freedreno.html 301
|
||||
/gallium/drivers/freedreno/ir3-notes.html /drivers/freedreno/ir3-notes.html 301
|
||||
/gallium/drivers/llvmpipe.html /drivers/llvmpipe.html 301
|
||||
/gallium/drivers/zink.html /drivers/zink.html 301
|
||||
/llvmpipe.html /drivers/llvmpipe.html 301
|
||||
/postprocess.html /gallium/postprocess.html 301
|
||||
/versions.html /relnotes.html 301
|
||||
/vmware-guest.html /drivers/vmware-guest.html 301
|
@ -135,15 +135,6 @@ html_extra_path = [
|
||||
]
|
||||
|
||||
html_redirects = [
|
||||
('drivers/vmware-guest', 'drivers/svga3d.html'),
|
||||
('gallium/drivers/freedreno', 'drivers/freedreno.html'),
|
||||
('gallium/drivers/freedreno/ir3-notes', 'drivers/freedreno/ir3-notes.html'),
|
||||
('gallium/drivers/llvmpipe', 'drivers/llvmpipe.html'),
|
||||
('gallium/drivers/zink', 'drivers/zink.html'),
|
||||
('llvmpipe', 'drivers/llvmpipe.html'),
|
||||
('postprocess', 'gallium/postprocess.html'),
|
||||
('versions', 'relnotes.html'),
|
||||
('vmware-guest', 'drivers/vmware-guest.html'),
|
||||
('webmaster', 'https://www.mesa3d.org/website/'),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user