From b5429e747595f39e3c580e0850f4d520ecae6e16 Mon Sep 17 00:00:00 2001 From: choir27 Date: Mon, 5 Aug 2024 19:29:37 -0400 Subject: [PATCH 1/2] docs: categorize the tools into development, productivity, and communication categories --- sidebars.ts | 96 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 57 insertions(+), 39 deletions(-) diff --git a/sidebars.ts b/sidebars.ts index 42679951f..e8da06fe5 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -34,49 +34,67 @@ const sidebars: SidebarsConfig = { ] }, { - type: 'doc', - id: 'extensions-plugins/vscode', - label: 'VS Code Extension', - }, - { - type: 'doc', - id: 'extensions-plugins/web-extension', - label: 'Web Extension', - }, - { - type: 'doc', - id: 'extensions-plugins/jetbrains', - label: 'JetBrains Plugin', - }, - { - type: 'doc', - id: 'extensions-plugins/obsidian', - label: 'Obsidian Plugin', - }, - { - type: 'doc', - id: 'extensions-plugins/visual-studio', - label: 'Visual Studio Extension', - }, - { - type: 'doc', - id: 'extensions-plugins/sublime', - label: 'Sublime Plugin', - }, - { - type: 'doc', - id: 'extensions-plugins/azure-data-studio', - label: 'Azure Data Studio', + type: 'category', + label: 'Development', + items: [ + { + type: 'doc', + id: 'extensions-plugins/jetbrains', + label: 'JetBrains Plugin', + }, + { + type: 'doc', + id: 'extensions-plugins/sublime', + label: 'Sublime Plugin', + }, + { + type: 'doc', + id: 'extensions-plugins/visual-studio', + label: 'Visual Studio Extension', + }, + { + type: 'doc', + id: 'extensions-plugins/vscode', + label: 'VS Code Extension', + }, + { + type: 'doc', + id: 'extensions-plugins/web-extension', + label: 'Web Extension', + }, + ] }, { - type: 'doc', - id: 'extensions-plugins/jupyterlab', - label: 'JupyterLab Extension', + type: 'category', + label: 'Productivity', + items: [ + { + type: 'doc', + id: 'extensions-plugins/azure-data-studio', + label: 'Azure Data Studio', + }, + { + type: 'doc', + id: 'extensions-plugins/jupyterlab', + label: 'JupyterLab Extension', + }, + { + type: 'doc', + id: 'extensions-plugins/obsidian', + label: 'Obsidian Plugin', + }, + ], }, { - type: 'doc', - id: 'extensions-plugins/teams', - label: 'Microsoft Teams App', + type: 'category', + label: 'Communication', + items: [ + { + type: 'doc', + id: 'extensions-plugins/teams', + label: 'Microsoft Teams App', + }, + ] }, ] }, From dc5e38cdf46acd9d471c44438def53ea222e4d3c Mon Sep 17 00:00:00 2001 From: choir27 Date: Wed, 7 Aug 2024 17:55:35 -0400 Subject: [PATCH 2/2] docs: reorganized sidebars.ts to reflect categories in Pieces docs home page. --- sidebars.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/sidebars.ts b/sidebars.ts index e8da06fe5..f9b1c899c 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -35,7 +35,7 @@ const sidebars: SidebarsConfig = { }, { type: 'category', - label: 'Development', + label: 'IDEs & Editors', items: [ { type: 'doc', @@ -59,8 +59,13 @@ const sidebars: SidebarsConfig = { }, { type: 'doc', - id: 'extensions-plugins/web-extension', - label: 'Web Extension', + id: 'extensions-plugins/jupyterlab', + label: 'JupyterLab Extension', + }, + { + type: 'doc', + id: 'extensions-plugins/azure-data-studio', + label: 'Azure Data Studio', }, ] }, @@ -70,29 +75,24 @@ const sidebars: SidebarsConfig = { items: [ { type: 'doc', - id: 'extensions-plugins/azure-data-studio', - label: 'Azure Data Studio', - }, - { - type: 'doc', - id: 'extensions-plugins/jupyterlab', - label: 'JupyterLab Extension', + id: 'extensions-plugins/obsidian', + label: 'Obsidian Plugin', }, { type: 'doc', - id: 'extensions-plugins/obsidian', - label: 'Obsidian Plugin', + id: 'extensions-plugins/teams', + label: 'Microsoft Teams App', }, ], }, { type: 'category', - label: 'Communication', + label: 'Web Browsers', items: [ { type: 'doc', - id: 'extensions-plugins/teams', - label: 'Microsoft Teams App', + id: 'extensions-plugins/web-extension', + label: 'Web Extension', }, ] },