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",
plugins: [path.resolve(__dirname, 'plugins', 'appinsights')],
themeConfig: {
sidebarCollapsible: false,
prism: {
theme: require("prism-react-renderer/themes/duotoneLight"),
darkTheme: require("prism-react-renderer/themes/oceanicNext"),

View file

@ -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",