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:
Mikey O'Toole 2022-02-04 01:38:09 +00:00 committed by GitHub
parent 48f080ebca
commit d6bdf7e804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,6 +116,10 @@ const DropdownSubitemSchema = Joi.object({
is: itemWithType('doc'),
then: DocItemSchema,
},
{
is: itemWithType('docSidebar'),
then: DocSidebarItemSchema,
},
{
is: itemWithType(undefined),
then: DefaultNavbarItemSchema,