From 0a2e3047d65b18bb71a3aea67cc61af199426bfc Mon Sep 17 00:00:00 2001 From: Matt Nield <64328730+matthewjnield@users.noreply.github.com> Date: Tue, 8 Oct 2024 00:05:49 -0400 Subject: [PATCH] Update links This commit updates several links from their current URLs to the ones that they now redirect to. Any instances of `deno.land/x` were left alone to avoid messing with dependencies, although these links may be able to be changed to their JSR equivalents. --- README.md | 4 ++-- docs/latest/concepts/server-configuration.md | 2 +- docs/latest/getting-started/create-a-project.md | 4 ++-- docs/latest/getting-started/index.md | 4 ++-- docs/latest/getting-started/running-locally.md | 2 +- init/src/init.ts | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c428ca128d9..88b23cc8e80 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The [documentation](https://fresh.deno.dev/docs/introduction) is available on ## 🚀 Getting started -Install the latest [Deno CLI](https://deno.land/) version. +Install the latest [Deno CLI](https://deno.com/) version. You can scaffold a new project by running the Fresh init script. To scaffold a project run the following: @@ -65,7 +65,7 @@ docs. ## Contributing We appreciate your help! To contribute, please read our -[contributing instructions](https://deno.com/manual/references/contributing#submitting-a-pr-to-fresh). +[contributing instructions](https://docs.deno.com/runtime/contributing/#submitting-a-pr-to-fresh). ## Adding your project to the showcase diff --git a/docs/latest/concepts/server-configuration.md b/docs/latest/concepts/server-configuration.md index 77407a20afc..c596c8418c5 100644 --- a/docs/latest/concepts/server-configuration.md +++ b/docs/latest/concepts/server-configuration.md @@ -167,7 +167,7 @@ The `basePath` is also applied to the `src` and `srcset` attribute of ## Server -Now that Deno has stabilized [Deno.serve](https://deno.land/api?s=Deno.serve) +Now that Deno has stabilized [Deno.serve](https://docs.deno.com/api/deno/~/Deno.serve) and Fresh has switched to using this API, all server configuration options are embedded in `server` inside the `FreshConfig`. The fully expanded set of parameters looks like this: diff --git a/docs/latest/getting-started/create-a-project.md b/docs/latest/getting-started/create-a-project.md index 61397584d61..5bf0d6f67fe 100644 --- a/docs/latest/getting-started/create-a-project.md +++ b/docs/latest/getting-started/create-a-project.md @@ -55,6 +55,6 @@ respectively: Finally a **`static/`** folder is created that contains static files that are automatically served "as is". [Learn more about static files][static-files]. -[import-map]: https://docs.deno.com/runtime/manual/basics/import_maps -[task-runner]: https://deno.land/manual/tools/task_runner +[import-map]: https://docs.deno.com/runtime/fundamentals/modules/ +[task-runner]: https://docs.deno.com/runtime/reference/cli/task_runner/ [static-files]: ../concepts/static-files diff --git a/docs/latest/getting-started/index.md b/docs/latest/getting-started/index.md index 8e36e58ded0..5903daed3b9 100644 --- a/docs/latest/getting-started/index.md +++ b/docs/latest/getting-started/index.md @@ -20,5 +20,5 @@ nice with Deno. Documentation for this can also be found [in the manual][manual-editors]. [deno-deploy]: https://deno.com/deploy -[manual-installation]: https://deno.land/manual/getting_started/installation -[manual-editors]: https://deno.land/manual/getting_started/setup_your_environment +[manual-installation]: https://docs.deno.com/runtime/getting_started/installation/ +[manual-editors]: https://docs.deno.com/runtime/getting_started/setup_your_environment/ diff --git a/docs/latest/getting-started/running-locally.md b/docs/latest/getting-started/running-locally.md index c0e86429fe7..ca6c7439520 100644 --- a/docs/latest/getting-started/running-locally.md +++ b/docs/latest/getting-started/running-locally.md @@ -61,4 +61,4 @@ If you now visit http://localhost:8000, you can see the running project. Try change some of the text in `routes/index.tsx` and see how the page updates automatically when you save the file. -[--watch]: https://deno.land/manual/getting_started/command_line_interface#watch-mode +[--watch]: https://docs.deno.com/runtime/getting_started/command_line_interface/#watch-mode diff --git a/init/src/init.ts b/init/src/init.ts index 4f7e4492673..da66e264b79 100644 --- a/init/src/init.ts +++ b/init/src/init.ts @@ -602,7 +602,7 @@ Started" guide here: https://fresh.deno.dev/docs/getting-started ### Usage -Make sure to install Deno: https://deno.land/manual/getting_started/installation +Make sure to install Deno: https://docs.deno.com/runtime/getting_started/installation/ Then start the project in development mode: