From ebe65b035e9da0989dd1f8e66739f3915e5e4af7 Mon Sep 17 00:00:00 2001 From: zhizheng Date: Sat, 17 May 2025 03:35:56 +0800 Subject: [PATCH] docs(canary): clean the twind part for canary version (#2966) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What does this PR do? This PR cleans all the Twind - related parts in the canary documentation. Specifically, it removes the Twind - related entries in the docs/toc.ts file, which streamlines the documentation and eliminates references to the Twind technology that might no longer be relevant or in use. ## Problem Being Solved Outdated Information: Twind removed from fresh v2. Keeping Twind - related content in the documentation can lead to confusion for new users who might be using the canary version of Fresh with Tailwind CSS. ## Changes Made docs/toc.ts: Removed the "migrating - to - tailwind" entry. Removed the "using - twind - v1" entry, which is directly related to using the Twind v1 version and is no longer needed in the canary documentation. Removed the "using - fresh - canary - version" entry, which is no reason in canary docs --------- Co-authored-by: 李嘉图·M·路 <146103794+Ricardo-M-Zheng@users.noreply.github.com> --- docs/toc.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/toc.ts b/docs/toc.ts index 02f8f2b5..a337c4b9 100644 --- a/docs/toc.ts +++ b/docs/toc.ts @@ -72,7 +72,6 @@ const toc: RawTableOfContents = { link: "latest", pages: [ ["migration-guide", "Migration Guide", "link:canary"], - ["migrating-to-tailwind", "Migrating to Tailwind", "link:latest"], ["modifying-the-head", "Modifying the ", "link:latest"], ["writing-tests", "Writing tests", "link:latest"], [ @@ -80,13 +79,7 @@ const toc: RawTableOfContents = { "Changing the source directory", "link:latest", ], - ["using-twind-v1", "Using Twind v1", "link:latest"], ["init-the-server", "Initializing the server", "link:latest"], - [ - "using-fresh-canary-version", - "Using Fresh canary version", - "link:latest", - ], ["dealing-with-cors", "Dealing with CORS", "link:latest"], ["creating-a-crud-api", "Creating a CRUD API", "link:latest"], ["handling-complex-routes", "Handling complex routes", "link:latest"],