Skip to content

Commit e6cfb77

Browse files
committed
fixed links that came in from last master merge
1 parent a1b66a8 commit e6cfb77

File tree

8 files changed

+14
-17
lines changed

8 files changed

+14
-17
lines changed

docs/recipes/build/add-build-script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## FAKE
44
[Fake](https://fake.build/) is a DSL for build tasks that is modular, extensible and easy to start with. Fake allows you to easily build, bundle, deploy your app and more by executing a single command.
55

6-
> The standard template comes [with a FAKE project](../../../template-safe-commands) by default, so **this recipe only applies to the minimal template**.
6+
> The standard template comes [with a FAKE project](../../template-safe-commands.md) by default, so **this recipe only applies to the minimal template**.
77
88
---
99
#### 1. Create a build project

docs/recipes/build/bundle-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# How do I bundle my SAFE application?
22

3-
When developing your SAFE application, the local runtime experience uses Vite to run the client and redirect API calls to the server on a [different port](../../../faq-build). However, when you *deploy* your application, you'll need to run your Saturn server which will serve up statically-built client resources (HTML, JavaScript, CSS etc.).
3+
When developing your SAFE application, the local runtime experience uses Vite to run the client and redirect API calls to the server on a [different port](../../faq/faq-build.md). However, when you *deploy* your application, you'll need to run your Saturn server which will serve up statically-built client resources (HTML, JavaScript, CSS etc.).
44

55
#### 1. Run the FAKE script
66
If you created your SAFE app using the recommended defaults, your application already has a FAKE script which will do the bundling for you. You can create a bundle using the following command:
@@ -11,7 +11,7 @@ dotnet run Bundle
1111

1212
This will build and package up both the client and server and place them into the `/deploy` folder at the root of the repository.
1313

14-
> See [here](../../../template-safe-commands) for more details on this build target.
14+
> See [here](../../template-safe-commands.md) for more details on this build target.
1515
1616
## Testing the bundle
1717
1. Navigate to the `deploy` folder at the root of your repository.
@@ -21,4 +21,4 @@ This will build and package up both the client and server and place them into th
2121
You should now see your SAFE application.
2222

2323
## Further reading
24-
See [this article](/docs/faq-build) for more information on architectural concerns regarding the move from dev to production and bundling SAFE Stack applications.
24+
See [this article](../../faq/faq-build.md) for more information on architectural concerns regarding the move from dev to production and bundling SAFE Stack applications.

docs/recipes/build/remove-fake.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How do I remove the use of FAKE?
2-
[FAKE](https://fake.build/) is a tool for build automation. The standard SAFE template comes with a [ready-made build project](../../../template-safe-commands) at the root of the solution that provides support for many common SAFE tasks.
2+
[FAKE](https://fake.build/) is a tool for build automation. The standard SAFE template comes with a [ready-made build project](../../template-safe-commands.md) at the root of the solution that provides support for many common SAFE tasks.
33

44
If you would prefer not to use FAKE, you can of course simply ignore it, but this recipes shows how to completely remove it from your repository. It is important to note that having removed FAKE, you will have to follow a more manual approach to each of these processes. This recipe will only include instructions on how to run the application after removing FAKE.
55

@@ -36,6 +36,6 @@ dotnet fable watch -o output -s --run npx vite
3636
The app will now be running at `http://localhost:8080/`. Navigate to this address in a browser to see your app running.
3737

3838
## Bundling the App
39-
See [this guide](../build/bundle-app.md#2-im-using-the-minimal-template) to learn how to package a SAFE application for deployment to e.g. Azure.
39+
See [this guide](bundle-app.md#2-im-using-the-minimal-template) to learn how to package a SAFE application for deployment to e.g. Azure.
4040

4141
---

docs/recipes/javascript/third-party-react-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ reactSpeedometer [
5757

5858
## Feliz - Setup
5959

60-
If you don't already have [Feliz](https://www.nuget.org/packages/Feliz/) installed, [add it to your client](../../v4-recipes/ui/add-feliz.md).
60+
If you don't already have [Feliz](https://www.nuget.org/packages/Feliz/) installed, [add it to your client](../ui/add-feliz.md).
6161
In the Client projects `Index.fs` add the following snippets
6262

6363
```fsharp

docs/recipes/package-management/add-nuget-package-to-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# How do I add a NuGet package to the Client?
2-
Adding packages to the Client project is a very [similar process to the Server](../add-nuget-package-to-server), with a few key differences:
2+
Adding packages to the Client project is a very [similar process to the Server](add-nuget-package-to-server.md), with a few key differences:
33

44
- Any references to the `Server` directory should be `Client`
55

docs/recipes/ui/cdn-to-npm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Remove the CDN reference from the index template in `src/Client/index.html`:
99
```
1010

1111
#### 2. Add the NPM Package
12-
Add styles from NPM. [How do I add an NPM package to the client?](../../package-management/add-npm-package-to-client)
12+
Add styles from NPM. [How do I add an NPM package to the client?](../package-management/add-npm-package-to-client.md)
1313
In this example we will add the [Bulma NPM package](https://www.npmjs.com/package/bulma).
1414

1515
#### 3. Add a reference to your stylesheet
16-
1. Add a stylesheet to your project using [this recipe](../add-style). Add a scss file instead of a css file.
16+
1. Add a stylesheet to your project using [this recipe](add-style.md). Add a scss file instead of a css file.
1717
1. Add the following lines to your scss file:
1818
```scss
1919
// Set variables to affect Bulma styles

docs/v4-recipes/javascript/third-party-react-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ reactSpeedometer [
5757

5858
## Feliz - Setup
5959

60-
If you don't already have [Feliz](https://www.nuget.org/packages/Feliz/) installed, [add it to your client](../ui/add-feliz.md).
60+
If you don't already have [Feliz](https://www.nuget.org/packages/Feliz/) installed, [add it to your client](../../recipes/ui/add-feliz.md).
6161
In the Client projects `Index.fs` add the following snippets
6262

6363
```fsharp

mkdocs.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ nav:
6565
- Server Side Rendering : "features/feature-ssr.md"
6666
- Hot Module Replacement : "features/feature-hmr.md"
6767
- Working with Azure functions : "features/feature-azurefunctions.md"
68-
- Server Side Rendering : "feature-ssr.md"
69-
- Hot Module Replacement : "feature-hmr.md"
70-
- Working with Azure functions : "feature-azurefunctions.md"
7168
- How do I...:
7269
- Upgrade from V2 to V3 : "recipes/upgrading/v2-to-v3.md"
7370
- Upgrade from V3 to V4 : "recipes/upgrading/v3-to-v4.md"
@@ -108,8 +105,8 @@ nav:
108105
- Post data to the server: "recipes/client-server/messaging-post.md"
109106
- Share code between the client and the server: "recipes/client-server/share-code.md"
110107
- FAQs:
111-
- Moving from dev to prod : "faq-build.md"
112-
- Troubleshooting : "faq-troubleshooting.md"
108+
- Moving from dev to prod : "faq/faq-build.md"
109+
- Troubleshooting : "faq/faq-troubleshooting.md"
113110
- Learning Resources:
114111
- SAFE-Compatible UI Components: "awesome-safe-components.md"
115112
- Learning: "learning.md"
@@ -150,7 +147,7 @@ nav:
150147
- Remove Bulma: "v4-recipes/ui/remove-bulma.md"
151148
- Add Tailwind support: "v4-recipes/ui/add-tailwind.md"
152149
- Add daisyUI support: "v4-recipes/ui/add-daisyui.md"
153-
- Add Feliz support: "v4-recipes/ui/add-feliz.md"
150+
- Add Feliz support: "recipes/ui/add-feliz.md"
154151
- Migrate from a CDN stylesheet to an NPM package: "v4-recipes/ui/cdn-to-npm.md"
155152
- Add routing with state shared between pages: "v4-recipes/ui/add-routing.md"
156153
- Add routing with separate models per page: "v4-recipes/ui/add-routing-with-separate-models.md"

0 commit comments

Comments
 (0)