refactor(theme-classic): clean up CSS of doc sidebar item (#6622)

* refactor(theme-classic): clean up doc sidebar item CSS

* Use link placeholder for Introduction category

* Use test pages for dogfooding

* Update sidebars.js

* Add another test case
This commit is contained in:
Alexey Pyltsyn 2022-02-11 08:11:47 +03:00 committed by GitHub
parent da9075105a
commit cfef4755da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 34 deletions

View file

@ -40,6 +40,15 @@ const sidebars = {
collapsible: false,
items: ['index', 'more-test'],
},
{
type: 'category',
label: 'Another category with index',
collapsible: false,
link: {
type: 'generated-index',
},
items: ['more-test'],
},
{
type: 'category',
label: 'Huge sidebar category',
@ -74,6 +83,8 @@ const sidebars = {
{
type: 'category',
label: 'HTML items tests',
collapsed: false,
collapsible: false,
items: [
// title
{