From 934d3d6be86878b3fed1ffc4f0730876e6c3f48e Mon Sep 17 00:00:00 2001 From: Harshal Sheth Date: Tue, 24 Sep 2024 18:24:08 -0700 Subject: [PATCH] fix(docs-website): disable dark mode (#11468) --- docs-website/docusaurus.config.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index 88a2c79a450ee..c7f93b8a0b00f 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -65,6 +65,12 @@ module.exports = { // isCloseable: false, // }, // }), + colorMode: { + // Only support light mode. + defaultMode: 'light', + disableSwitch: true, + respectPrefersColorScheme: false, + }, navbar: { title: null, logo: { @@ -245,7 +251,7 @@ module.exports = { }, { label: "Adoption", - to: "docs/#adoption", + href: "/adoption-stories", }, ], },