From f203d928f4faeeddf9d3e9b87514f08f3177e8c9 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Thu, 28 Oct 2021 15:27:08 +0200 Subject: [PATCH] docs: make sidebars collapsible --- docs/docusaurus.config.js | 1 - docs/sidebars.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 852aa1dd..c456418b 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -11,7 +11,6 @@ module.exports = { onBrokenLinks: "ignore", plugins: [path.resolve(__dirname, 'plugins', 'appinsights')], themeConfig: { - sidebarCollapsible: false, prism: { theme: require("prism-react-renderer/themes/duotoneLight"), darkTheme: require("prism-react-renderer/themes/oceanicNext"), diff --git a/docs/sidebars.js b/docs/sidebars.js index a7a6de59..90b1d24f 100644 --- a/docs/sidebars.js +++ b/docs/sidebars.js @@ -3,6 +3,7 @@ module.exports = { { type: "category", label: "Getting Started", + collapsed: false, items: [ "introduction", "upgrading", @@ -23,6 +24,7 @@ module.exports = { { type: "category", label: "Segments", + collapsed: true, items: [ "angular", "aws", @@ -65,6 +67,7 @@ module.exports = { { type: "category", label: "Contributing", + collapsed: true, items: [ "contributing_started", "contributing_segment",