mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-30 17:37:09 +02:00
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:
parent
da9075105a
commit
cfef4755da
4 changed files with 11 additions and 34 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue