docs: link the Skills and Plugins hubs from the doc sidebar
The hubs are navbar-only. On a phone Docusaurus opens the drawer on the doc sidebar and puts the navbar behind 'Back to main menu', so mobile readers cannot find Skills or Plugins at all. Two top-level sidebar links make them one tap away on every doc page (desktop sidebar too).
This commit is contained in:
@@ -3,6 +3,11 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
|
||||
const sidebars: SidebarsConfig = {
|
||||
docs: [
|
||||
'user-stories',
|
||||
// The Skills/Plugins hubs live in the navbar. On mobile Docusaurus opens the drawer on the doc
|
||||
// sidebar, with the navbar a "Back to main menu" tap away, so without these links the hubs are
|
||||
// undiscoverable on a phone.
|
||||
{type: 'link', label: 'Browse Skills', href: '/skills'},
|
||||
{type: 'link', label: 'Browse Plugins', href: '/plugins'},
|
||||
{
|
||||
type: 'category',
|
||||
label: 'Getting Started',
|
||||
|
||||
Reference in New Issue
Block a user