Skip to content

Commit 107c25b

Browse files
chore: Update links (#2956)
This commit updates several links which are outdated and now redirect to different URLs on the updated Deno website and documentation. There are a few dozen instances of URLs starting with `https:://deno.land/x` and `https:://deno.land/std`. I left these alone since they are dependencies. Would it make sense to update these from the versions hosted at `deno.land` to their JSR equivalents, since that is the new and preferred location of the Deno Standard Library packages as well as other JavaScript/TypeScript packages used by Deno projects? For example, the latest version of the Deno Standard Library is now hosted at `https://jsr.io/@std` instead of `https://deno.land/std`. ![image](https://github.com/user-attachments/assets/7416da3b-3867-4d8f-9a1a-79e6a11ddb46) --------- Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>
1 parent 63cb208 commit 107c25b

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The [documentation](https://fresh.deno.dev/docs/introduction) is available on
2424

2525
## 🚀 Getting started
2626

27-
Install the latest [Deno CLI](https://deno.land/) version.
27+
Install the latest [Deno CLI](https://deno.com/) version.
2828

2929
You can scaffold a new project by running the Fresh init script. To scaffold a
3030
project run the following:

docs/latest/concepts/server-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ The `basePath` is also applied to the `src` and `srcset` attribute of
167167

168168
## Server
169169

170-
Now that Deno has stabilized [Deno.serve](https://deno.land/api?s=Deno.serve)
171-
and Fresh has switched to using this API, all server configuration options are
172-
embedded in `server` inside the `FreshConfig`. The fully expanded set of
173-
parameters looks like this:
170+
Now that Deno has stabilized
171+
[Deno.serve](https://docs.deno.com/api/deno/~/Deno.serve) and Fresh has switched
172+
to using this API, all server configuration options are embedded in `server`
173+
inside the `FreshConfig`. The fully expanded set of parameters looks like this:
174174

175175
```ts
176176
server: {

docs/latest/getting-started/create-a-project.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ respectively:
5555
Finally a **`static/`** folder is created that contains static files that are
5656
automatically served "as is". [Learn more about static files][static-files].
5757

58-
[import-map]: https://docs.deno.com/runtime/manual/basics/import_maps
59-
[task-runner]: https://deno.land/manual/tools/task_runner
58+
[import-map]: https://docs.deno.com/runtime/fundamentals/modules
59+
[task-runner]: https://docs.deno.com/runtime/reference/cli/task
6060
[static-files]: ../concepts/static-files

docs/latest/getting-started/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ nice with Deno. Documentation for this can also be found
2020
[in the manual][manual-editors].
2121

2222
[deno-deploy]: https://deno.com/deploy
23-
[manual-installation]: https://deno.land/manual/getting_started/installation
24-
[manual-editors]: https://deno.land/manual/getting_started/setup_your_environment
23+
[manual-installation]: https://docs.deno.com/runtime/getting_started/installation
24+
[manual-editors]: https://docs.deno.com/runtime/getting_started/setup_your_environment

docs/latest/getting-started/running-locally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ If you now visit http://localhost:8000, you can see the running project. Try
6161
change some of the text in `routes/index.tsx` and see how the page updates
6262
automatically when you save the file.
6363

64-
[--watch]: https://deno.land/manual/getting_started/command_line_interface#watch-mode
64+
[--watch]: https://docs.deno.com/runtime/getting_started/command_line_interface/#watch-mode

init/src/init.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,8 @@ Started" guide here: https://fresh.deno.dev/docs/getting-started
603603
604604
### Usage
605605
606-
Make sure to install Deno: https://deno.land/manual/getting_started/installation
606+
Make sure to install Deno:
607+
https://docs.deno.com/runtime/getting_started/installation
607608
608609
Then start the project in development mode:
609610

0 commit comments

Comments
 (0)