From a631ae3876dbad49e1baa0a407d040a3f2aa2680 Mon Sep 17 00:00:00 2001 From: zhizheng Date: Tue, 3 Jun 2025 19:30:12 +0800 Subject: [PATCH] Fix[docs] correct the broken links and errors in migration-guide (#3008) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com> --- docs/canary/examples/migration-guide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/canary/examples/migration-guide.md b/docs/canary/examples/migration-guide.md index 1366f3c7..dd912f6c 100644 --- a/docs/canary/examples/migration-guide.md +++ b/docs/canary/examples/migration-guide.md @@ -5,8 +5,9 @@ description: | We tried to keep breaking changes in Fresh 2 as minimal as possible, but some changes need to be updated manually. Fresh 2 comes with many quality of life -[improvements](TODO) that make it easier to extend and adapt Fresh. We've -created this upgrade guide as part of upgrading our own apps here at Deno. +[improvements](https://deno.com/blog/an-update-on-fresh) that make it easier to +extend and adapt Fresh. We've created this upgrade guide as part of upgrading +our own apps here at Deno. Use this guide to migrate a Fresh 1.x app to Fresh 2. @@ -19,9 +20,8 @@ update by running it in your project directory: deno run -Ar jsr:@fresh/update ``` -This will apply most API changes made in Fresh 2 -[automatically](#automatic-updates) like changing `$fresh/server.ts` imports to -`fresh`. +This will apply most API changes made in Fresh 2 automatically update like +changing `$fresh/server.ts` imports to `fresh`. ## Getting `main.ts` and `dev.ts` ready