From 1ac607569e7358069a8c373c08de91e3831e162d Mon Sep 17 00:00:00 2001 From: Sean Campbell Date: Thu, 7 Jan 2021 11:09:21 -0500 Subject: [PATCH 1/2] docs: add hideableSidebar option to config demo --- website/docs/api/docusaurus.config.js.md | 1 + 1 file changed, 1 insertion(+) diff --git a/website/docs/api/docusaurus.config.js.md b/website/docs/api/docusaurus.config.js.md index d5829bed584c..9c24d655e78c 100644 --- a/website/docs/api/docusaurus.config.js.md +++ b/website/docs/api/docusaurus.config.js.md @@ -191,6 +191,7 @@ module.exports = { themeConfig: { colorMode: { defaultMode: 'light', + hideableSidebar: true, // default is false disableSwitch: false, respectPrefersColorScheme: true, switchConfig: { From 0effa616d05887ebc37aa1ba63e14c33478c758a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lorber?= Date: Mon, 11 Jan 2021 15:40:56 +0100 Subject: [PATCH 2/2] Update docusaurus.config.js.md --- website/docs/api/docusaurus.config.js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/api/docusaurus.config.js.md b/website/docs/api/docusaurus.config.js.md index 9c24d655e78c..1115d7ac0764 100644 --- a/website/docs/api/docusaurus.config.js.md +++ b/website/docs/api/docusaurus.config.js.md @@ -189,9 +189,9 @@ Example: ```js title="docusaurus.config.js" module.exports = { themeConfig: { + hideableSidebar: false, colorMode: { defaultMode: 'light', - hideableSidebar: true, // default is false disableSwitch: false, respectPrefersColorScheme: true, switchConfig: {