Rearranged sidebar links (#1022)

* Rearranged sidebar links

* change quick start to quickstart
This commit is contained in:
Shahed Nasser authored and GitHub committed 2022-02-09 11:02:50 +01:00
1 parent 362d106086
commit f2b4481b1f
6 files changed
+84 -94

No files matched your search

@@ -1,5 +1,5 @@
--- ---
title: 0. Set up your development environment title: Set up your development environment
--- ---
# Set up your development environment # Set up your development environment
@@ -1,5 +1,5 @@
--- ---
title: 1. Creating your Medusa server title: Creating your Medusa server
--- ---
# Creating your Medusa server # Creating your Medusa server
@@ -1,5 +1,5 @@
--- ---
title: 2. Adding custom functionality title: Adding custom functionality
--- ---
# Adding custom functionality # Adding custom functionality
@@ -1,5 +1,5 @@
--- ---
title: 3. Linking your local project with Medusa Cloud title: Linking your local project with Medusa Cloud
--- ---
# Linking your local project with Medusa Cloud # Linking your local project with Medusa Cloud
+2 -7
View File
@@ -48,17 +48,12 @@ module.exports = {
items: [ items: [
{ {
href: "https://docs.medusajs.com", href: "https://docs.medusajs.com",
label: "Overview", label: "Introduction",
},
{
type: "doc",
docId: "tutorial/set-up-your-development-environment",
label: "Tutorial",
}, },
{ {
href: `https://docs.medusajs.com/api/store`, href: `https://docs.medusajs.com/api/store`,
target: "_self", target: "_self",
label: "Reference", label: "API Reference",
}, },
{ {
href: "https://github.com/medusajs/medusa", href: "https://github.com/medusajs/medusa",
+78 -83
View File
@@ -14,17 +14,32 @@ module.exports = {
{ {
type: "doc", type: "doc",
id: "homepage", id: "homepage",
label: "Overview", label: "Introduction",
}, },
{ {
type: "doc", type: "doc",
id: "quickstart/quick-start", id: "quickstart/quick-start",
label: "Quickstart", label: "Quickstart Guide",
}, },
{ {
type: "category", type: "category",
collapsed: false, collapsed: false,
label: "Storefront starters", label: "Usage Guides",
items: [
{
type: "doc",
id: "tutorial/set-up-your-development-environment",
label: "Set Up your Development Environment"
},
{
type: "doc",
id: "tutorial/creating-your-medusa-server",
label: "Create your Medusa Server"
},
{
type: "category",
collapsed: true,
label: "Storefront Quickstart",
items: [ items: [
{ {
type: "doc", type: "doc",
@@ -36,75 +51,69 @@ module.exports = {
id: "starters/nextjs-medusa-starter", id: "starters/nextjs-medusa-starter",
label: "Quickstart: Next.js", label: "Quickstart: Next.js",
}, },
],
},
{
type: "category",
label: "Tutorial",
collapsed: false,
items: [
{
type: "doc",
id: "tutorial/set-up-your-development-environment",
},
{
type: "doc",
id: "tutorial/creating-your-medusa-server",
},
{
type: "doc",
id: "tutorial/adding-custom-functionality",
},
],
},
{
type: "category",
label: "How to",
items: [
{
type: "doc",
id: "how-to/notification-api",
},
{
type: "category",
label: "Gatsby + Contentful + Medusa",
items: [
{
type: "doc",
id: "how-to/headless-ecommerce-store-with-gatsby-contentful-medusa",
},
{
type: "doc",
id: "how-to/making-your-store-more-powerful-with-contentful",
},
],
},
{ {
type: "doc", type: "doc",
id: "how-to/setting-up-a-nextjs-storefront-for-your-medusa-project", id: "how-to/setting-up-a-nextjs-storefront-for-your-medusa-project",
label: "Set Up a Next.js Storefront for your Medusa Project"
},
],
}, },
{ {
type: "doc", type: "doc",
id: "how-to/create-medusa-app", id: "how-to/create-medusa-app",
}, },
{
type: "category",
label: "Deployment",
items: [
{ {
type: "doc", type: "doc",
id: "how-to/uploading-images-to-spaces", id: "how-to/deploying-on-heroku",
label: "Deploy: Heroku",
}, },
{ {
type: "doc", type: "doc",
id: "how-to/uploading-images-to-s3", id: "how-to/deploying-on-qovery",
label: "Deploy: Qovery",
}, },
{ {
type: "doc", type: "doc",
id: "how-to/uploading-images-to-minio", id: "how-to/deploying-on-digital-ocean",
label: "Deploy: DigitalOcean",
},
{
type: "doc",
id: "how-to/deploying-admin-on-netlify",
label: "Deploy: Admin on Netlify",
},
{
type: "doc",
id: "how-to/deploying-gatsby-on-netlify",
label: "Deploy: Gatsby on Netlify",
}, },
], ],
}, },
]
},
{ {
type: "category", type: "category",
label: "Guides", label: "Advanced Guide",
collapsed: false,
items: [ items: [
{
type: "category",
label: "Medusa Server",
collapsed: true,
items: [
{
type: "doc",
id: "tutorial/adding-custom-functionality",
label: "Add Custom Functionality"
},
{
type: "doc",
id: "how-to/notification-api",
},
{ {
type: "doc", type: "doc",
id: "guides/fulfillment-api", id: "guides/fulfillment-api",
@@ -121,12 +130,29 @@ module.exports = {
type: "doc", type: "doc",
id: "guides/carts-in-medusa", id: "guides/carts-in-medusa",
}, },
], ]
}
]
}, },
{ {
type: "category", type: "category",
label: "Add a plugin", label: "Integrations",
collapsed: false,
items: [ items: [
{
type: "category",
label: "Gatsby + Contentful + Medusa",
items: [
{
type: "doc",
id: "how-to/headless-ecommerce-store-with-gatsby-contentful-medusa",
},
{
type: "doc",
id: "how-to/making-your-store-more-powerful-with-contentful",
},
],
},
{ {
type: "doc", type: "doc",
id: "add-plugins/contentful", id: "add-plugins/contentful",
@@ -194,37 +220,6 @@ module.exports = {
}, },
], ],
}, },
{
type: "category",
label: "Deployment",
items: [
{
type: "doc",
id: "how-to/deploying-on-heroku",
label: "Deploy: Heroku",
},
{
type: "doc",
id: "how-to/deploying-on-qovery",
label: "Deploy: Qovery",
},
{
type: "doc",
id: "how-to/deploying-on-digital-ocean",
label: "Deploy: DigitalOcean",
},
{
type: "doc",
id: "how-to/deploying-admin-on-netlify",
label: "Deploy: Admin on Netlify",
},
{
type: "doc",
id: "how-to/deploying-gatsby-on-netlify",
label: "Deploy: Gatsby on Netlify",
},
],
},
{ {
type: "category", type: "category",
label: "Troubleshooting", label: "Troubleshooting",