docs: restructured docs sidebar (#2156)

* restructured docs sidebar

* resolved incorrect URLs
This commit is contained in:
Shahed Nasser
2022-09-06 19:16:54 +03:00
committed by GitHub
parent cd217c8a95
commit a71cf60060
30 changed files with 694 additions and 478 deletions
+13 -35
View File
@@ -61,7 +61,7 @@ module.exports = {
items: [
{
type: "docSidebar",
sidebarId: "tutorialSidebar",
sidebarId: "docsSidebar",
label: "Docs"
},
{
@@ -93,40 +93,6 @@ module.exports = {
},
],
},
{
type: 'dropdown',
label: 'References',
items: [
{
to: "cli/reference",
label: "CLI Reference",
},
{
type: "docSidebar",
sidebarId: "entitiesSidebar",
label: "Entities Reference",
},
{
to: "advanced/backend/subscribers/events-list",
label: "Events Reference",
},
{
type: "docSidebar",
sidebarId: "jsClientSidebar",
label: "JS Client Reference",
},
{
type: "docSidebar",
sidebarId: "servicesSidebar",
label: "Services Reference",
},
]
},
{
href: "https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml",
position: 'right',
label: 'Report an Issue'
},
{
href: "https://github.com/medusajs/medusa",
className: "navbar-github-link",
@@ -177,6 +143,18 @@ module.exports = {
],
copyright: `© ${new Date().getFullYear()} Medusa`,
},
sidebarFooter: [
{
href: "https://github.com/medusajs/medusa/issues/new?assignees=&labels=type%3A+docs&template=docs.yml",
label: 'Report an Issue',
className: 'alert-icon',
},
{
href: "https://medusajs.com/",
label: 'Go to medusajs.com',
className: 'topright-icon',
},
]
},
presets: [
[