This repository has been archived by the owner on Jul 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
107 lines (89 loc) · 1.89 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[[redirects]]
from = "/version/stable/*"
to = "https://pyvista-0-44.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/0.44/*"
to = "https://pyvista-0-44.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/0.43/*"
to = "https://pyvista-0-43.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/0.42/*"
to = "https://pyvista-0-42.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/0.41/*"
to = "https://pyvista-0-41.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/0.40/*"
to = "https://pyvista-0-40.netlify.app/:splat"
status = 200
force = true
[[redirects]]
from = "/version/dev/*"
to = "https://pyvista-dev.netlify.app/:splat"
status = 200
force = true
###############################
# Redirects for top-level links
[[redirects]]
from = "/genindex.html"
to = "/version/stable/genindex.html"
status = 301
force = false
[[redirects]]
from = "/objects.inv"
to = "/version/stable/objects.inv"
status = 301
force = false
[[redirects]]
from = "/py-modindex.html"
to = "/version/stable/py-modindex.html"
status = 301
force = false
[[redirects]]
from = "/index.html"
to = "/version/stable/index.html"
status = 301
force = false
###############################
# Redirects for legacy links
[[redirects]]
from = "/_static/*"
to = "/version/stable/_static/:splat"
status = 301
force = false
[[redirects]]
from = "/api/*"
to = "/version/stable/api/:splat"
status = 301
force = false
[[redirects]]
from = "/examples/*"
to = "/version/stable/examples/:splat"
status = 301
force = false
[[redirects]]
from = "/extras/*"
to = "/version/stable/extras/:splat"
status = 301
force = false
[[redirects]]
from = "/user-guide/*"
to = "/version/stable/user-guide/:splat"
status = 301
force = false
[[redirects]]
from = "/getting-started/*"
to = "/version/stable/getting-started/:splat"
status = 301
force = false