mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 14:08:21 +02:00
fix(theme-classic): add docSidebar as allowed item in dropdown (#6599)
* Add ThemeClassName to Docs Sidebar container. * Fix issue #6597 - Missing docSidebar in theme config validation. * revert comment change Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
48f080ebca
commit
d6bdf7e804
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,10 @@ const DropdownSubitemSchema = Joi.object({
|
|||
is: itemWithType('doc'),
|
||||
then: DocItemSchema,
|
||||
},
|
||||
{
|
||||
is: itemWithType('docSidebar'),
|
||||
then: DocSidebarItemSchema,
|
||||
},
|
||||
{
|
||||
is: itemWithType(undefined),
|
||||
then: DefaultNavbarItemSchema,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue