-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Bug report
In Multiple Sidebars mode, I can't config sidebar to redirect /components/
with /
root path
directory structure:
├── components
│ ├── README.md
│ ├── i18n.md
│ ├── quickstart.md
│ └── text.md
└── guide
└── FAQ.md
config.js
sidebar: {
'/components/': [
'',
['quickstart', 'Quick Start'],
['i18n', 'Internationalization'],
{
title: 'components',
collapsable: false,
children: [['text', 'Text']]
}
],
'/guide/': ['FAQ'],
'/': [''] // how to config to redirect '/components/' ???
}
Version
0.14.4
Steps to reproduce
What is expected?
Sidebar provides a property that supports redirect to other route
What is actually happening?
Other relevant information
- Your OS: MacOS 10.13
- Node.js version: 8.11.*
- Browser version: Chrome 70+
- Is this a global or local install? local
- Which package manager did you use for the install? npm
Metadata
Metadata
Assignees
Labels
No labels