This repository has been archived by the owner on Jun 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
netlify.toml
118 lines (100 loc) · 2.43 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
108
109
110
111
112
113
114
115
116
117
118
[build]
# Current directory usage for poetry is for caching purposes
command = """
restore_home_cache ".cache" "pip cache" &&
restore_home_cache ".pymedphys" "pymedphys cache" &&
restore_cwd_cache '.venv' 'python virtualenv' &&
pip3 install -q poetry &&
poetry config virtualenvs.in-project true &&
poetry install -vvv --no-dev -E docs &&
poetry run sphinx-build -W docs docs/_build/html &&
cache_home_directory ".cache" "pip cache" &&
cache_home_directory ".pymedphys" "pymedphys cache" &&
cache_cwd_directory ".venv" "python virtualenv"
"""
publish = "docs/_build/html"
[[redirects]]
from = "/en/stable/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "/en/latest/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "/en/0.8.x/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "/en/0.7.x/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "/en/0.6.x/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "/en/0.5.x/*"
to = "/:splat"
status = 301
force = true
[[redirects]]
from = "https://pymedphys.netlify.com/*"
to = "https://docs.pymedphys.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://pymedphys.com/*"
to = "https://docs.pymedphys.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://docs-pymedphys.netlify.com/*"
to = "https://docs.pymedphys.com/:splat"
status = 301
force = true
[[redirects]]
from = "https://app-pymedphys.netlify.com/*"
to = "https://app.pymedphys.com/:splat"
status = 301
force = true
[[redirects]]
from = "/getting-started/installation.html"
to = "/tutes/install.html"
status = 301
force = true
[[redirects]]
from = "/getting-started/licensing.html"
to = "/explain/license.html"
status = 301
force = true
[[redirects]]
from = "/developer/agpl-benefits.html"
to = "/explain/agpl-benefits.html"
status = 301
force = true
[[redirects]]
from = "/explain/agpl-benefits.html"
to = "/explain/open-source-benefits.html"
status = 301
force = true
[[redirects]]
from = "/explain/license.html"
to = "/explain/open-source-benefits.html"
status = 301
force = true
[[redirects]]
from = "/developer/file-structure.html"
to = "/contrib/explain/file-structure.html"
status = 301
force = true
[[redirects]]
from = "/projects/elekta-logfiles.html"
to = "/explain/elekta-logfiles.html"
status = 301
force = true