From acffc658bca25776bcb5a3cde0b5dc2b3861c413 Mon Sep 17 00:00:00 2001 From: Owen Buckley Date: Mon, 24 Mar 2025 17:43:58 -0400 Subject: [PATCH 1/8] init ecosystem and plugins docs updates and move typescript page under resources --- netlify.toml | 7 +- src/pages/docs/plugins/css-modules.md | 45 ++++++++++++- src/pages/docs/plugins/lit-ssr.md | 30 ++++++++- src/pages/docs/plugins/postcss.md | 30 ++++++++- src/pages/docs/plugins/raw.md | 45 ++++++++++++- src/pages/docs/reference/configuration.md | 21 ++++++ src/pages/docs/resources/markdown.md | 2 +- .../docs/{plugins => resources}/typescript.md | 2 +- src/pages/guides/ecosystem/web-test-runner.md | 64 +++++++++++++++++++ 9 files changed, 239 insertions(+), 7 deletions(-) rename src/pages/docs/{plugins => resources}/typescript.md (99%) diff --git a/netlify.toml b/netlify.toml index 2e04d1c5..b880a3e6 100644 --- a/netlify.toml +++ b/netlify.toml @@ -11,4 +11,9 @@ [[redirects]] status = 302 from = "/discord/" - to = "https://discord.gg/dmDmjFCKuH" \ No newline at end of file + to = "https://discord.gg/dmDmjFCKuH" + +[[redirects]] + status = 301 + from = "/docs/plugins/typescript/" + to = "/docs/resources/typescript/" \ No newline at end of file diff --git a/src/pages/docs/plugins/css-modules.md b/src/pages/docs/plugins/css-modules.md index 7eab7c46..3b0c02ca 100644 --- a/src/pages/docs/plugins/css-modules.md +++ b/src/pages/docs/plugins/css-modules.md @@ -2,7 +2,7 @@ title: CSS Modules label: CSS Modules layout: docs -order: 3 +order: 2 tocHeading: 2 --- @@ -123,3 +123,46 @@ And reference that in your (Light DOM) HTML based Web Component: From there, Greenwood will scope your CSS class names by prefixing them with the filename and a hash of the contents, inline that into a `