-
Notifications
You must be signed in to change notification settings - Fork 13
/
netlify.toml
44 lines (37 loc) · 943 Bytes
/
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
[build]
publish = "public"
command = "hugo"
[context.production.environment]
HUGO_VERSION = "0.78.2"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[[redirects]]
from = "/psi4manual/master/*"
#to = "https://psi4manual.netlify.app/:splat"
to = "https://psi4.github.io/psi4docs/master/:splat"
status = 200
force = true
[[redirects]]
from = "/psi4manual/1.9.x/*"
to = "https://psi4.github.io/psi4docs/1.9.x/:splat"
status = 200
force = true
[[redirects]]
from = "/psi4manual/1.8.x/*"
to = "https://psi4.github.io/psi4docs/1.8.x/:splat"
status = 200
force = true
[[redirects]]
from = "/psi4manual/1.7.x/*"
to = "https://psi4.github.io/psi4docs/1.7.x/:splat"
status = 200
force = true
[[redirects]]
from = "/psi4manual/1.6.x/*"
to = "https://psi4.github.io/psi4docs/1.6.x/:splat"
status = 200
force = true
[[redirects]]
from = "/downloads*"
to = "/installs/latest"
status = 301