11spin_manifest_version = 2
22
33[application ]
4- name = " spin-docs-toc "
4+ name = " spin-docs"
55version = " 0.1.0"
66description = " Spin website running on... Spin."
77authors = [
" Spin Maintainers <[email protected] >" ]
@@ -24,106 +24,11 @@ id = "trigger-fileserver-downloads"
2424component = " fileserver-downloads"
2525route = " /downloads/..."
2626
27- [[trigger .http ]]
28- id = " trigger-redirect-spin-index"
29- component = " redirect-spin-index"
30- route = " /spin"
31-
32- [[trigger .http ]]
33- id = " trigger-redirect-spin-rust-components-http-trigger"
34- component = " redirect-spin-rust-components-http-trigger"
35- route = " /spin/rust-components/http-trigger"
36-
37- [[trigger .http ]]
38- id = " trigger-spin-contributing-extending-and-embedding"
39- component = " spin-contributing-extending-and-embedding"
40- route = " /spin/contributing/extending-and-embedding"
41-
42- [[trigger .http ]]
43- id = " trigger-spin-rust-components-redis-trigger"
44- component = " spin-rust-components-redis-trigger"
45- route = " /spin/rust-components/redis-trigger"
46-
47- [[trigger .http ]]
48- id = " trigger-spin-configuration"
49- component = " spin-configuration"
50- route = " /spin/configuration"
51-
52- [[trigger .http ]]
53- id = " trigger-spin-configuration-http-trigger"
54- component = " spin-configuration-http-trigger"
55- route = " /spin/configuration/http-trigger"
56-
57- [[trigger .http ]]
58- id = " trigger-spin-configuration-redis-trigger"
59- component = " spin-configuration-redis-trigger"
60- route = " /spin/configuration/redis-trigger"
61-
62- [[trigger .http ]]
63- id = " trigger-spin-quickstart-developing"
64- component = " spin-quickstart-developing"
65- route = " /spin/quickstart/developing"
66-
67- [[trigger .http ]]
68- id = " trigger-spin-quickstart-configuration"
69- component = " spin-quickstart-configuration"
70- route = " /spin/quickstart/configuration"
71-
72- [[trigger .http ]]
73- id = " trigger-spin-quickstart-install"
74- component = " spin-quickstart-install"
75- route = " /spin/quickstart/install"
76-
77- [[trigger .http ]]
78- id = " trigger-spin-quickstart-go-components"
79- component = " spin-quickstart-go-components"
80- route = " /spin/quickstart/go-components"
81-
82- [[trigger .http ]]
83- id = " trigger-spin-quickstart-rust-components"
84- component = " spin-quickstart-rust-components"
85- route = " /spin/quickstart/rust-components"
86-
87- [[trigger .http ]]
88- id = " trigger-spin-contributing"
89- component = " spin-contributing"
90- route = " /spin/contributing/"
91-
92- [[trigger .http ]]
93- id = " trigger-spin-kv-store-tutorial"
94- component = " spin-kv-store-tutorial"
95- route = " /spin/kv-store"
96-
97- [[trigger .http ]]
98- id = " trigger-redirect-contributing-common-to-spin"
99- component = " redirect-contributing-common-to-spin"
100- route = " /common/cli-reference"
101-
10227[[trigger .http ]]
10328id = " trigger-hub-fileserver-static"
10429component = " hub-fileserver-static"
10530route = " /hub/..."
10631
107- [[trigger .http ]]
108- id = " trigger-registry-tutorial"
109- component = " registry-tutorial"
110- route = " /spin/spin-oci"
111-
112- [[trigger .http ]]
113- id = " trigger-url-shortener-tutorial"
114- component = " url-shortener-tutorial"
115- route = " /spin/url-shortener"
116-
117- [[trigger .http ]]
118- id = " trigger-key-value-store-tutorial"
119- component = " key-value-store-tutorial"
120- route = " /spin/kv-store-tutorial"
121-
122- [[trigger .http ]]
123- id = " trigger-ai-sentiment-analysis-api-tutorial"
124- component = " ai-sentiment-analysis-api-tutorial"
125- route = " /spin/serverless-ai-tutorial"
126-
12732[[trigger .http ]]
12833id = " trigger-spin-version-proxy"
12934component = " spin-version-proxy"
@@ -144,26 +49,6 @@ id = "trigger-bartholomew-spin-v3"
14449component = " bartholomew-spin-v3"
14550route = " /spin/v3/..."
14651
147- [[trigger .http ]]
148- id = " trigger-redirect-wasm-langs-root"
149- component = " redirect-wasm-langs-root"
150- route = " /wasm-languages/"
151-
152- [[trigger .http ]]
153- id = " trigger-spin-kubernetes-dynamic-configuration"
154- component = " redirect-spin-kubernetes-dynamic-configuration"
155- route = " /spin/v2/kubernetes-dynamic-configuration"
156-
157- [[trigger .http ]]
158- id = " trigger-spin-kubernetes-sidecars"
159- component = " redirect-spin-kubernetes-sidecars"
160- route = " /spin/v2/kubernetes-sidecars"
161-
162- [[trigger .http ]]
163- id = " trigger-spin-kubernetes-known-issues"
164- component = " redirect-spin-kubernetes-known-issues"
165- route = " /spin/v2/kubernetes-known-issues"
166-
16752[component .bartholomew ]
16853# Using build from bartholomew main
16954source = " modules/bartholomew.wasm"
@@ -182,96 +67,6 @@ files = [{ source = "static/", destination = "/" }]
18267source = " modules/spin_static_fs.wasm"
18368files = [{ source = " downloads/" , destination = " /" }]
18469
185- # Redirect /spin to /spin/index
186- [component .redirect-spin-index ]
187- source = " modules/redirect.wasm"
188- environment = { DESTINATION = " /spin/index" }
189-
190- # Redirect /spin/rust-components/http-trigger to /spin/http-trigger
191- [component .redirect-spin-rust-components-http-trigger ]
192- source = " modules/redirect.wasm"
193- environment = { DESTINATION = " https://spinframework.com/http-trigger" }
194-
195- # Redirect /spin/contributing/extending-and-embedding to /spin/extending-and-embedding
196- [component .spin-contributing-extending-and-embedding ]
197- source = " modules/redirect.wasm"
198- environment = { DESTINATION = " https://spinframework.com/extending-and-embedding" }
199-
200- # Redirect /spin/rust-components/redis-trigger to /spin/redis-trigger
201- [component .spin-rust-components-redis-trigger ]
202- source = " modules/redirect.wasm"
203- environment = { DESTINATION = " https://spinframework.com/redis-trigger" }
204-
205- # Redirect /spin/configuration to /spin/writing-apps
206- [component .spin-configuration ]
207- source = " modules/redirect.wasm"
208- environment = { DESTINATION = " https://spinframework.com/writing-apps" }
209-
210- # Redirect /spin/configuration/http-trigger to /spin/http-trigger
211- [component .spin-configuration-http-trigger ]
212- source = " modules/redirect.wasm"
213- environment = { DESTINATION = " https://spinframework.com/http-trigger" }
214-
215- # Redirect /spin/configuration/redis-trigger to /spin/redis-trigger
216- [component .spin-configuration-redis-trigger ]
217- source = " modules/redirect.wasm"
218- environment = { DESTINATION = " https://spinframework.com/redis-trigger" }
219-
220- # Redirect /spin/quickstart/developing to /spin/quickstart
221- [component .spin-quickstart-developing ]
222- source = " modules/redirect.wasm"
223- environment = { DESTINATION = " https://spinframework.com/quickstart" }
224-
225- # Redirect /spin/quickstart/configuration to /spin/writing-apps
226- [component .spin-quickstart-configuration ]
227- source = " modules/redirect.wasm"
228- environment = { DESTINATION = " https://spinframework.com/writing-apps" }
229-
230- # Redirect /spin/quickstart/install to /spin/install
231- [component .spin-quickstart-install ]
232- source = " modules/redirect.wasm"
233- environment = { DESTINATION = " https://spinframework.com/install" }
234-
235- # Redirect /spin/quickstart/go-components to /spin/go-components
236- [component .spin-quickstart-go-components ]
237- source = " modules/redirect.wasm"
238- environment = { DESTINATION = " https://spinframework.com/go-components" }
239-
240- # Redirect /spin/quickstart/rust-components to /spin/rust-components
241- [component .spin-quickstart-rust-components ]
242- source = " modules/redirect.wasm"
243- environment = { DESTINATION = " https://spinframework.com/rust-components" }
244-
245- # Redirect /spin/contributing/ to spin/contributing-spin
246- [component .spin-contributing ]
247- source = " modules/redirect.wasm"
248- environment = { DESTINATION = " https://spinframework.com/contributing-spin" }
249-
250- # Redirect /spin/kv-store/ to spin/key-value-store-tutorial
251- [component .spin-kv-store-tutorial ]
252- source = " modules/redirect.wasm"
253- environment = { DESTINATION = " https://spinframework.com/kv-store-tutorial" }
254-
255- # Redirecting from common to spin incase someone had it bookmarked before removal of common
256- [component .redirect-contributing-common-to-spin ]
257- source = " modules/redirect.wasm"
258- environment = { DESTINATION = " https://spinframework.com/cli-reference" }
259-
260- # Redirect /spin/kubernetes-dynamic-configuration to /spin/kubernetes
261- [component .redirect-spin-kubernetes-dynamic-configuration ]
262- source = " modules/redirect.wasm"
263- environment = { DESTINATION = " https://spinframework.com/kubernetes" }
264-
265- # Redirect /spin/kubernetes-sidecars to /spin/kubernetes
266- [component .redirect-spin-kubernetes-sidecars ]
267- source = " modules/redirect.wasm"
268- environment = { DESTINATION = " https://spinframework.com/kubernetes" }
269-
270- # Redirect /spin/kubernetes-known-issues to /spin/kubernetes
271- [component .redirect-spin-kubernetes-known-issues ]
272- source = " modules/redirect.wasm"
273- environment = { DESTINATION = " https://spinframework.com/kubernetes" }
274-
27570[component .hub-fileserver-static ]
27671source = { url = " https://github.com/spinframework/spin-fileserver/releases/download/v0.0.2/spin_static_fs.wasm" , digest = " sha256:65456bf4e84cf81b62075e761b2b0afaffaef2d0aeda521b245150f76b96421b" }
27772environment = { FALLBACK_PATH = " ./index.html" }
@@ -281,36 +76,6 @@ files = [{ source = "spin-up-hub/dist/", destination = "/" }]
28176command = " npm run build"
28277workdir = " spin-up-hub"
28378
284- # Redirect /spin/spin-oci to /spin/registry-tutorial
285- [component .registry-tutorial ]
286- source = " modules/redirect.wasm"
287- environment = { DESTINATION = " https://spinframework.com/registry-tutorial" }
288-
289- # Redirect /spin/url-shortener to /spin/url-shortener-tutorial
290- [component .url-shortener-tutorial ]
291- source = " modules/redirect.wasm"
292- environment = { DESTINATION = " https://spinframework.com/url-shortener-tutorial" }
293-
294- # Redirect /spin/kv-store-tutorial to /spin/key-value-store-tutorial
295- [component .key-value-store-tutorial ]
296- source = " modules/redirect.wasm"
297- environment = { DESTINATION = " https://spinframework.com/key-value-store-tutorial" }
298-
299- # Redirect /spin/serverless-ai-tutorial to /spin/ai-sentiment-analysis-api-tutorial
300- [component .ai-sentiment-analysis-api-tutorial ]
301- source = " modules/redirect.wasm"
302- environment = { DESTINATION = " https://spinframework.com/ai-sentiment-analysis-api-tutorial" }
303-
304- # Redirect /cloud/serverless-ai to /spin/serverless-ai-hello-world
305- [component .serverless-ai ]
306- source = " modules/redirect.wasm"
307- environment = { DESTINATION = " https://spinframework.com/serverless-ai-hello-world.md" }
308-
309- # Redirect /wasm-languages to /wasm-languages/webassembly-language-support
310- [component .redirect-wasm-langs-root ]
311- source = " modules/redirect.wasm"
312- environment = { DESTINATION = " /wasm-languages/webassembly-language-support" }
313-
31479# Component to give us clean versioned URLs for spin from the root
31580[component .spin-version-proxy ]
31681source = " modules/spin-redirecter.wasm"
0 commit comments