Skip to content

Commit e931bca

Browse files
authored
chore(docs): v2 manifest; update redirect module to v0.1.0 (#184)
Signed-off-by: Vaughn Dice <[email protected]>
1 parent d85b5e5 commit e931bca

File tree

2 files changed

+67
-54
lines changed

2 files changed

+67
-54
lines changed

docs/modules/redirect.wasm

330 KB
Binary file not shown.

docs/spin.toml

+67-54
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,100 @@
1+
spin_manifest_version = 2
2+
3+
[application]
14
name = "bartholomew-docs"
2-
spin_version = "1"
35
version = "0.1.0"
46
description = "The Bartholomew documentation website"
5-
authors = [ "Fermyon Engineering <[email protected]>" ]
6-
trigger = { type = "http", base = "/" }
7+
authors = ["Fermyon Engineering <[email protected]>"]
8+
9+
[application.trigger.http]
10+
base = "/"
711

8-
[[component]]
9-
id = "redirect-site-index"
12+
[[trigger.http]]
13+
id = "trigger-redirect-site-index"
14+
component = "redirect-site-index"
15+
route = "/"
16+
17+
[[trigger.http]]
18+
id = "trigger-redirect-configuration"
19+
component = "redirect-configuration"
20+
route = "/configuration"
21+
22+
[[trigger.http]]
23+
id = "trigger-redirect-contributing"
24+
component = "redirect-contributing"
25+
route = "/contributing"
26+
27+
[[trigger.http]]
28+
id = "trigger-redirect-markdown"
29+
component = "redirect-markdown"
30+
route = "/markdown"
31+
32+
[[trigger.http]]
33+
id = "trigger-redirect-quickstart"
34+
component = "redirect-quickstart"
35+
route = "/quickstart"
36+
37+
[[trigger.http]]
38+
id = "trigger-redirect-scripting"
39+
component = "redirect-scripting"
40+
route = "/scripting"
41+
42+
[[trigger.http]]
43+
id = "trigger-redirect-seo"
44+
component = "redirect-seo"
45+
route = "/seo"
46+
47+
[[trigger.http]]
48+
id = "trigger-redirect-shortcodes"
49+
component = "redirect-shortcodes"
50+
route = "/shortcodes"
51+
52+
[[trigger.http]]
53+
id = "trigger-redirect-templates"
54+
component = "redirect-templates"
55+
route = "/templates"
56+
57+
[[trigger.http]]
58+
id = "trigger-redirect-themes"
59+
component = "redirect-themes"
60+
route = "/themes"
61+
62+
[component.redirect-site-index]
1063
source = "modules/redirect.wasm"
1164
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/index" }
12-
[component.trigger]
13-
route = "/"
14-
executor = { type = "wagi" }
1565

16-
[[component]]
17-
id = "redirect-configuration"
66+
[component.redirect-configuration]
1867
source = "modules/redirect.wasm"
1968
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/configuration" }
20-
[component.trigger]
21-
route = "/configuration"
22-
executor = { type = "wagi" }
2369

24-
[[component]]
25-
id = "redirect-contributing"
70+
[component.redirect-contributing]
2671
source = "modules/redirect.wasm"
2772
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/contributing-bartholomew" }
28-
[component.trigger]
29-
route = "/contributing"
30-
executor = { type = "wagi" }
3173

32-
[[component]]
33-
id = "redirect-markdown"
74+
[component.redirect-markdown]
3475
source = "modules/redirect.wasm"
3576
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/markdown" }
36-
[component.trigger]
37-
route = "/markdown"
38-
executor = { type = "wagi" }
3977

40-
[[component]]
41-
id = "redirect-quickstart"
78+
[component.redirect-quickstart]
4279
source = "modules/redirect.wasm"
4380
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/quickstart" }
44-
[component.trigger]
45-
route = "/quickstart"
46-
executor = { type = "wagi" }
4781

48-
[[component]]
49-
id = "redirect-scripting"
82+
[component.redirect-scripting]
5083
source = "modules/redirect.wasm"
5184
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/scripting" }
52-
[component.trigger]
53-
route = "/scripting"
54-
executor = { type = "wagi" }
5585

56-
[[component]]
57-
id = "redirect-seo"
86+
[component.redirect-seo]
5887
source = "modules/redirect.wasm"
5988
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/seo" }
60-
[component.trigger]
61-
route = "/seo"
62-
executor = { type = "wagi" }
6389

64-
[[component]]
65-
id = "redirect-shortcodes"
90+
[component.redirect-shortcodes]
6691
source = "modules/redirect.wasm"
6792
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/shortcodes" }
68-
[component.trigger]
69-
route = "/shortcodes"
70-
executor = { type = "wagi" }
7193

72-
[[component]]
73-
id = "redirect-templates"
94+
[component.redirect-templates]
7495
source = "modules/redirect.wasm"
7596
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/templates" }
76-
[component.trigger]
77-
route = "/templates"
78-
executor = { type = "wagi" }
7997

80-
[[component]]
81-
id = "redirect-themes"
98+
[component.redirect-themes]
8299
source = "modules/redirect.wasm"
83100
environment = { DESTINATION = "https://developer.fermyon.com/bartholomew/themes" }
84-
[component.trigger]
85-
route = "/themes"
86-
executor = { type = "wagi" }
87-

0 commit comments

Comments
 (0)