From aa6ee73e9fbefa179f9dfbd14949d32fde53e26e Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Sat, 20 Apr 2024 08:35:13 -0700 Subject: [PATCH] docs: generate packages sidebar from filesystem (#5916) --- packages/lexical-website/sidebars.js | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/packages/lexical-website/sidebars.js b/packages/lexical-website/sidebars.js index 60fc26e38cf..cb284eda073 100644 --- a/packages/lexical-website/sidebars.js +++ b/packages/lexical-website/sidebars.js @@ -54,30 +54,10 @@ const sidebars = { }, { items: [ - 'packages/lexical', - 'packages/lexical-clipboard', - 'packages/lexical-code', - 'packages/lexical-devtools-core', - 'packages/lexical-dragon', - 'packages/lexical-file', - 'packages/lexical-hashtag', - 'packages/lexical-headless', - 'packages/lexical-history', - 'packages/lexical-html', - 'packages/lexical-link', - 'packages/lexical-list', - 'packages/lexical-mark', - 'packages/lexical-markdown', - 'packages/lexical-offset', - 'packages/lexical-overflow', - 'packages/lexical-plain-text', - 'packages/lexical-react', - 'packages/lexical-rich-text', - 'packages/lexical-selection', - 'packages/lexical-table', - 'packages/lexical-text', - 'packages/lexical-utils', - 'packages/lexical-yjs', + { + dirName: 'packages', + type: 'autogenerated', + }, ], label: 'Packages', type: 'category',