Skip to content

Commit 54e3f61

Browse files
authored
Merge pull request #1503 from fermyon/docs/update-spin-refs
docs(*): update spin refs to spinframework.dev
2 parents 5d03de8 + cb3cadc commit 54e3f61

File tree

128 files changed

+822
-247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+822
-247
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Prerequisites to run the website locally:
44

55
- [npm and node](https://docs.npmjs.com/cli/v8/configuring-npm/install)
6-
- [Spin](https://developer.fermyon.com/spin/quickstart)
6+
- [Spin](https://spinframework.dev/quickstart)
77

88
Build and run the website locally:
99

@@ -20,4 +20,4 @@ spin watch # Uses spin watch to run the website and reload when content changes.
2020

2121
2. View the website at `http://localhost:3000`.
2222

23-
If you would like to edit the contents of the [developer.fermyon.com](https://developer.fermyon.com/) website and contribute your changes, please visit the [Contributing to Docs](https://developer.fermyon.com/spin/contributing-docs) page.
23+
If you would like to edit the contents of the [developer.fermyon.com](https://developer.fermyon.com/) website and contribute your changes, please visit the [Contributing to Docs](https://developer.fermyon.com/common/contributing-docs) page.

content/api/hub/contributing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ url = "https://github.com/spinframework/spin/tree/main/templates/http-rust"
108108
Be sure to make a description of the hub item in the body (below the **`---`** line). The content that you write below the **`---`** line will be the content shown when the card is expanded in a modal view. For example:
109109

110110
```md
111-
This is the default HTTP trigger template for Rust. It installs by default with the [Spin install script](../../spin/install#installing-spin).
111+
This is the default HTTP trigger template for Rust. It installs by default with the [Spin install script](https://spinframework.dev/install#installing-spin).
112112

113-
This guide walks you through how to use it: [HTTP Components](../../spin/rust-components#http-components)
113+
This guide walks you through how to use it: [HTTP Components](https://spinframework.dev/rust-components#http-components)
114114
```
115115

116116
### Valid Metadata

content/api/hub/plugin_js2wasm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ keywords = "plugins, packaging plugins, javascript, typescript"
1818

1919
---
2020

21-
This is an SDK for building Spin apps using JavaScript (and TypeScript). It installs by default with the [Spin install script](../../spin/install#installing-spin).
21+
This is an SDK for building Spin apps using JavaScript (and TypeScript). It installs by default with the [Spin install script](https://spinframework.dev/install#installing-spin).
2222

2323
## Installation
2424

2525
```bash
2626
spin plugins install js2wasm
2727
```
2828

29-
This guide walks you through how to use it: [HTTP Components](../../spin/javascript-components)
29+
This guide walks you through how to use it: [HTTP Components](https://spinframework.dev/javascript-components)

content/api/hub/sample_code_pls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ Checkout the [app here](https://code-pls.fermyon.app/)
2323

2424
Get started with `spin build`, `spin up` and `spin deploy`.
2525

26-
[See the AI capabilities using Fermyon serverless AI!](https://developer.fermyon.com/spin/v2/serverless-ai-hello-world.md)
26+
[See the AI capabilities using Fermyon serverless AI!](https://spinframework.dev/v2/serverless-ai-hello-world.md)
2727

2828

content/api/hub/sample_http_auth_middleware.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cargo install --git https://github.com/bytecodealliance/cargo-component cargo-co
3636
cargo install --git https://github.com/dicej/wasm-tools --branch wasm-compose-resource-imports wasm-tools --locked
3737
```
3838

39-
* Install latest [Spin](../../spin/v2/install)
39+
* Install latest [Spin](https://spinframework.dev/v2/install)
4040
* Create an OAuth App in your [GitHub Developer Settings](https://github.com/settings/developers).
4141
* Set the callback URL to `http://127.0.0.1:3000/login/callback`.
4242
* Accept defaults and input dummy values for the rest of the fields.

content/api/hub/sample_kv_in_python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ keywords = "python, JSON, key-value"
1818

1919
---
2020

21-
Simple example of how to use Spin's built-in [key-value store](../../spin/v2/key-value-store-tutorial) to store and retrieve JSON documents in Python.
21+
Simple example of how to use Spin's built-in [key-value store](https://spinframework.dev/v2/key-value-store-tutorial) to store and retrieve JSON documents in Python.

content/api/hub/sample_kv_in_typescript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ keywords = "typescript, javascript, key-value"
1818

1919
---
2020

21-
This sample shows how to use all of the different [Key/Value functions](../../spin/kv-store-api-guide) in TypeScript, including how to decode results, trap errors in a `try/catch`, and work with JSON.
21+
This sample shows how to use all of the different [Key/Value functions](https://spinframework.dev/kv-store-api-guide) in TypeScript, including how to decode results, trap errors in a `try/catch`, and work with JSON.
2222

2323
This will help you get started with KV storage either locally using `spin up` or in Fermyon Cloud using `spin deploy`.
2424

content/api/hub/sample_ollama.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords = "rust, ollama, llm, ai"
2121
This sample demonstrates how spin can be used to implement the [Ollama api](https://github.com/jmorganca/ollama/blob/main/docs/api.md), which when deployed can be used as any other Ollama instance. LLM orchestration frameworks like LangChain and semantic kernel can use this instance as a Ollama backend.
2222

2323
## Quick Start
24-
- [Install spin](../../spin/v2/install)
24+
- [Install spin](https://spinframework.dev/v2/install)
2525
- login to fermeyon cloud
2626
```
2727
spin login

content/api/hub/sample_openaichat_ts.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ $ curl -d "Will I get a pet tortoise?" http://127.0.0.1:3000/question
6767
The HTTP request is handled by the `handleRequest` function. Following is an overview of the process flow:
6868

6969
- Retreive the question by decoding the response body
70-
- Fetch the OpenAPI Key from the Spin Config [Reference](../../spin/dynamic-configuration#custom-config-providers)
70+
- Fetch the OpenAPI Key from the Spin Config [Reference](https://spinframework.dev/dynamic-configuration#custom-config-providers)
7171
- Structure the request to be sent to OpenAI
7272
- Decode the response
7373
- Structure and return the response to the client.
@@ -76,8 +76,8 @@ Please refer to the code for the details of the implementation.
7676

7777
## References
7878

79-
- [Sending Outbound HTTP Requests](../../spin/javascript-components#sending-outbound-http-requests)
79+
- [Sending Outbound HTTP Requests](https://spinframework.dev/javascript-components#sending-outbound-http-requests)
8080

81-
- [Spin Config](../../spin/dynamic-configuration#custom-config-providers)
81+
- [Spin Config](https://spinframework.dev/dynamic-configuration#custom-config-providers)
8282

8383
- [Create chat completion](https://platform.openai.com/docs/api-reference/chat/create)

content/api/hub/sample_router.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ keywords = "router, python"
1818

1919
---
2020

21-
This project showcases how to do internal HTTP routing in a Spin Python application. It is similar to [the Spin JS router](../../spin/v2/javascript-components#routing-in-a-component) as well as the Django router.
21+
This project showcases how to do internal HTTP routing in a Spin Python application. It is similar to [the Spin JS router](https://spinframework.dev/v2/javascript-components#routing-in-a-component) as well as the Django router.
2222

23-
If you are interested in external routing (where the routing table is declared in the spin.toml), the [Application Structure guide](../../spin/v2/spin-application-structure) covers this.
23+
If you are interested in external routing (where the routing table is declared in the spin.toml), the [Application Structure guide](https://spinframework.dev/v2/spin-application-structure) covers this.
2424

2525
This uses the absolutely fantastic [http_router](https://pypi.org/project/http-router/) project. You will likely want to reference the API docs:
2626
* https://github.com/klen/http-router.

0 commit comments

Comments
 (0)