diff --git a/.github/scripts/fix_i18n.py b/.github/scripts/fix_i18n.py index bddb25e567..8e9ffc35b4 100644 --- a/.github/scripts/fix_i18n.py +++ b/.github/scripts/fix_i18n.py @@ -4,17 +4,12 @@ # Define MDX tags and locales MDX_TAGS = [ - "Abbr", "Accordion", - "ApiVersion", - "SdkVersion", "Callout", "CodeBlock", "MinorVersion", - "Table", "Tabs", "Tab", - "Tile", "ListColumns", ] locales = ["ja", "ko", "zh"] diff --git a/.lycheeignore b/.lycheeignore index cd3230b9b3..a1143598f3 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,9 +1,10 @@ -^https?://api\.adjust\.com(?:/.*)?$ -^https?://example\.go\.link(?:/.*)?$ -^https?://dash\.adjust\.com/control-center(?:/.*)?$ -^https?://segment\.com(?:/.*)?$ -^https?://admin\.shopify\.com(?:/.*)?$ -^https?://launch\.adobe\.com(?:/.*)?$ -^https?://app\.adjust.com(?:/.*)?$ -^https?://mydomain\.com(?:/.*)?$ +^https?:\/\/(www.)?api\.adjust\.com(?:\/.*)?$ +^https?:\/\/(www.)?example\.go\.link(?:\/.*)?$ +^https?:\/\/(www.)?dash\.adjust\.com\/control-center(?:\/.*)?$ +^https?:\/\/(www.)?segment\.com(?:\/.*)?$ +^https?:\/\/(www.)?admin\.shopify\.com(?:\/.*)?$ +^https?:\/\/(www.)?launch\.adobe\.com(?:\/.*)?$ +^https?:\/\/(www.)?app\.adjust.com(?:\/.*)?$ +^https?:\/\/(www.)?mydomain\.com(?:\/.*)?$ @images* +^file:\/\/\/.*?$ diff --git a/package-lock.json b/package-lock.json index 5100ab6986..e108c6d2a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,8 @@ "tailwindcss": "^3.4.15", "typesense-instantsearch-adapter": "^2.8.0", "unified": "^11.0.5", - "unist-util-visit": "^5.0.0" + "unist-util-visit": "^5.0.0", + "uuid": "^11.0.3" }, "devDependencies": { "@stylistic/eslint-plugin": "^2.10.1", @@ -11762,6 +11763,19 @@ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", "license": "MIT" }, + "node_modules/uuid": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.0.3.tgz", + "integrity": "sha512-d0z310fCWv5dJwnX1Y/MncBAqGMKEzlBb1AOf7z9K8ALnd0utBX/msg/fA0+sbyN1ihbMsLhrBlnl1ak7Wa0rg==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/esm/bin/uuid" + } + }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", diff --git a/package.json b/package.json index 34eb47e056..94aee7d96b 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,8 @@ "tailwindcss": "^3.4.15", "typesense-instantsearch-adapter": "^2.8.0", "unified": "^11.0.5", - "unist-util-visit": "^5.0.0" + "unist-util-visit": "^5.0.0", + "uuid": "^11.0.3" }, "devDependencies": { "@stylistic/eslint-plugin": "^2.10.1", diff --git a/src/components/Accordion.astro b/src/components/Accordion.astro index 1f96d16437..b36547f300 100644 --- a/src/components/Accordion.astro +++ b/src/components/Accordion.astro @@ -39,19 +39,35 @@ const { title, badge } = Astro.props; diff --git a/src/components/AudienceDropdown.astro b/src/components/AudienceDropdown.astro index 89263c1d80..9b66046b2c 100644 --- a/src/components/AudienceDropdown.astro +++ b/src/components/AudienceDropdown.astro @@ -75,24 +75,38 @@ const audiences = [ diff --git a/src/components/Cards/CategoryCard.astro b/src/components/Cards/CategoryCard.astro index acdbd6b195..999096b8b9 100644 --- a/src/components/Cards/CategoryCard.astro +++ b/src/components/Cards/CategoryCard.astro @@ -1,6 +1,5 @@ --- import type { SidebarItem } from "@utils/helpers/navigation/types"; -import classNames from "classnames"; interface Props { child: SidebarItem; @@ -13,13 +12,7 @@ const categoryClass = `category-${childCategory}-${childVersion}`; ---