From f4fc0ff352ebb2d89a6d3b35f10a104338717433 Mon Sep 17 00:00:00 2001 From: RakaDoank Date: Tue, 31 Mar 2026 20:52:26 +0700 Subject: [PATCH 1/2] Update MATERIAL_COLOR.mdx Remove localhost --- docusaurus/docs/guides/MATERIAL_COLOR.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docusaurus/docs/guides/MATERIAL_COLOR.mdx b/docusaurus/docs/guides/MATERIAL_COLOR.mdx index 6afe1d0..0a155fc 100644 --- a/docusaurus/docs/guides/MATERIAL_COLOR.mdx +++ b/docusaurus/docs/guides/MATERIAL_COLOR.mdx @@ -22,7 +22,7 @@ const materialColor = new MaterialColor("#ffde3f") > The source color has to be in Hex code format, e.g #RRGGBB, or #RRGGBBAA, or #AARRGGBB :::info -Check the [`MaterialColor`](http://localhost:3000/material-color-react-native/docs/definitions/index/classes/MaterialColor) TypeScript definitions to see all its members, methods, and statics. +Check the [`MaterialColor`](/docs/definitions/index/classes/MaterialColor) TypeScript definitions to see all its members, methods, and statics. ::: ## Material Options @@ -254,9 +254,9 @@ Build Material from Source Image is not compatible in [React Native for Windows] ### Error Handling -The promise resolver guarantee that return a valid source color from bare `ImageUtils`, or return a valid [`MaterialColor`](http://localhost:3000/material-color-react-native/docs/definitions/index/classes/MaterialColor) instance from the static method, but it might throw an exception if something unexpected ocurred. +The promise resolver guarantee that return a valid source color from bare `ImageUtils`, or return a valid [`MaterialColor`](/docs/definitions/index/classes/MaterialColor) instance from the static method, but it might throw an exception if something unexpected ocurred. -If this is happened, this library will throw [`ImageUtils.SourceColorFromImageException`](http://localhost:3000/material-color-react-native/docs/definitions/index/namespaces/ImageUtils/classes/SourceColorFromImageException) or [`MaterialColor.SourceImageException`](/docs/definitions/index/classes/MaterialColor#sourceimageexception) class. Both classes are same. You can cast with the `instanceof` operator, and check what type of error happened from the `type` member from that class +If this is happened, this library will throw [`ImageUtils.SourceColorFromImageException`](/docs/definitions/index/namespaces/ImageUtils/classes/SourceColorFromImageException) or [`MaterialColor.SourceImageException`](/docs/definitions/index/classes/MaterialColor#sourceimageexception) class. Both classes are same. You can cast with the `instanceof` operator, and check what type of error happened from the `type` member from that class ```tsx import { From 99942e3deaefbd7c950d1c1814e62a1f44c556bb Mon Sep 17 00:00:00 2001 From: RakaDoank Date: Tue, 31 Mar 2026 20:56:19 +0700 Subject: [PATCH 2/2] Update deploy-docusaurus.yml --- .github/workflows/deploy-docusaurus.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/deploy-docusaurus.yml b/.github/workflows/deploy-docusaurus.yml index e3826a0..6d4db7a 100644 --- a/.github/workflows/deploy-docusaurus.yml +++ b/.github/workflows/deploy-docusaurus.yml @@ -4,9 +4,6 @@ on: push: branches: - deploy-docusaurus - pull_request: - branches: - - deploy-docusaurus jobs: build: