docs: make sidebars collapsible

This commit is contained in:
Jan De Dobbeleer 2021-10-28 15:27:08 +02:00 committed by Jan De Dobbeleer
parent 27d324441b
commit f203d928f4
2 changed files with 3 additions and 1 deletions

View file

@ -11,7 +11,6 @@ module.exports = {
onBrokenLinks: "ignore", onBrokenLinks: "ignore",
plugins: [path.resolve(__dirname, 'plugins', 'appinsights')], plugins: [path.resolve(__dirname, 'plugins', 'appinsights')],
themeConfig: { themeConfig: {
sidebarCollapsible: false,
prism: { prism: {
theme: require("prism-react-renderer/themes/duotoneLight"), theme: require("prism-react-renderer/themes/duotoneLight"),
darkTheme: require("prism-react-renderer/themes/oceanicNext"), darkTheme: require("prism-react-renderer/themes/oceanicNext"),

View file

@ -3,6 +3,7 @@ module.exports = {
{ {
type: "category", type: "category",
label: "Getting Started", label: "Getting Started",
collapsed: false,
items: [ items: [
"introduction", "introduction",
"upgrading", "upgrading",
@ -23,6 +24,7 @@ module.exports = {
{ {
type: "category", type: "category",
label: "Segments", label: "Segments",
collapsed: true,
items: [ items: [
"angular", "angular",
"aws", "aws",
@ -65,6 +67,7 @@ module.exports = {
{ {
type: "category", type: "category",
label: "Contributing", label: "Contributing",
collapsed: true,
items: [ items: [
"contributing_started", "contributing_started",
"contributing_segment", "contributing_segment",