When your documentation structure has deep directories or groups located under the same subdirectory, you can use the `base` option to automatically prepend a path prefix to all nested `items` inside that group. This avoids repeating the same path prefix for every `link`.
The `base` option is supported in both multiple sidebar configurations and nested sidebar groups.
### In Multiple Sidebars
You can define `base` at the root of a sidebar section configuration:
```js {5}
export default {
themeConfig: {
sidebar: {
'/guide/': {
base: '/guide/',
items: [
// This link is resolved to `/guide/introduction`
{ text: 'Introduction', link: 'introduction' },
// This link is resolved to `/guide/getting-started`