You can add custom menu items to the main menu (sidebar) by providing a menu
array in the config.
This is useful for adding links to external sites or other pages in your documentation, like a support page or internal wiki.
The examples below contain the configuration settings to add a link to the Synapse Admin issues.
Each menu
item can contain the following fields:
label
(required): The text to display in the menu.icon
(optional): The icon to display next to the label, one of the src/utils/icons.ts icons, otherwise a default icon will be used.url
(required): The URL to navigate to when the menu item is clicked.
{
"menu": [
{
"label": "Contact support",
"icon": "SupportAgent",
"url": "https://github.com/etkecc/synapse-admin/issues"
}
]
}
{
"cc.etke.synapse-admin": {
"menu": [
{
"label": "Contact support",
"icon": "SupportAgent",
"url": "https://github.com/etkecc/synapse-admin/issues"
}
]
}
}