Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Sebastian Rindom
2022-02-10 15:29:40 +01:00
10 changed files with 122 additions and 126 deletions

View File

@@ -1,6 +1,6 @@
<p align="center">
<a href="https://www.medusajs.com">
<img alt="Medusa" src="https://user-images.githubusercontent.com/7554214/129161578-19b83dc8-fac5-4520-bd48-53cba676edd2.png" width="100" />
<img alt="Medusa" src="https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png" width="100" />
</a>
</p>
<h1 align="center">
@@ -31,6 +31,7 @@ Medusa is an open-source headless commerce engine that enables developers to cre
<a href="https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md">
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" alt="PRs welcome!" />
</a>
<a href="https://www.producthunt.com/posts/medusa"><img src="https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Day-%23DA552E" alt="Product Hunt"></a>
<a href="https://discord.gg/xpCwq3Kfn8">
<img src="https://img.shields.io/badge/chat-on%20discord-7289DA.svg" alt="Discord Chat" />
</a>

View File

@@ -1,5 +1,5 @@
---
title: 0. Set up your development environment
title: Set up your development environment
---
# Set up your development environment

View File

@@ -1,5 +1,5 @@
---
title: 1. Creating your Medusa server
title: Creating your Medusa server
---
# Creating your Medusa server

View File

@@ -1,5 +1,5 @@
---
title: 2. Adding custom functionality
title: Adding custom functionality
---
# Adding custom functionality

View File

@@ -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

View File

@@ -48,17 +48,12 @@ module.exports = {
items: [
{
href: "https://docs.medusajs.com",
label: "Overview",
},
{
type: "doc",
docId: "tutorial/set-up-your-development-environment",
label: "Tutorial",
label: "Introduction",
},
{
href: `https://docs.medusajs.com/api/store`,
target: "_self",
label: "Reference",
label: "API Reference",
},
{
href: "https://github.com/medusajs/medusa",

View File

@@ -14,57 +14,131 @@ module.exports = {
{
type: "doc",
id: "homepage",
label: "Overview",
label: "Introduction",
},
{
type: "doc",
id: "quickstart/quick-start",
label: "Quickstart",
label: "Quickstart Guide",
},
{
type: "category",
collapsed: false,
label: "Storefront starters",
items: [
{
type: "doc",
id: "starters/gatsby-medusa-starter",
label: "Quickstart: Gatsby",
},
{
type: "doc",
id: "starters/nextjs-medusa-starter",
label: "Quickstart: Next.js",
},
],
},
{
type: "category",
label: "Tutorial",
collapsed: false,
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: [
{
type: "doc",
id: "starters/gatsby-medusa-starter",
label: "Quickstart: Gatsby",
},
{
type: "doc",
id: "starters/nextjs-medusa-starter",
label: "Quickstart: Next.js",
},
{
type: "doc",
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",
id: "tutorial/adding-custom-functionality",
id: "how-to/create-medusa-app",
},
],
{
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",
label: "How to",
label: "Advanced Guide",
collapsed: false,
items: [
{
type: "doc",
id: "how-to/notification-api",
},
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",
id: "guides/fulfillment-api",
},
{
type: "doc",
id: "guides/plugins",
},
{
type: "doc",
id: "guides/checkouts",
},
{
type: "doc",
id: "guides/carts-in-medusa",
},
]
}
]
},
{
type: "category",
label: "Integrations",
collapsed: false,
items: [
{
type: "category",
label: "Gatsby + Contentful + Medusa",
@@ -79,54 +153,6 @@ module.exports = {
},
],
},
{
type: "doc",
id: "how-to/setting-up-a-nextjs-storefront-for-your-medusa-project",
},
{
type: "doc",
id: "how-to/create-medusa-app",
},
{
type: "doc",
id: "how-to/uploading-images-to-spaces",
},
{
type: "doc",
id: "how-to/uploading-images-to-s3",
},
{
type: "doc",
id: "how-to/uploading-images-to-minio",
},
],
},
{
type: "category",
label: "Guides",
items: [
{
type: "doc",
id: "guides/fulfillment-api",
},
{
type: "doc",
id: "guides/plugins",
},
{
type: "doc",
id: "guides/checkouts",
},
{
type: "doc",
id: "guides/carts-in-medusa",
},
],
},
{
type: "category",
label: "Add a plugin",
items: [
{
type: "doc",
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",
label: "Troubleshooting",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@@ -1,10 +1,15 @@
<svg width="336" height="87" viewBox="0 0 336 87" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M80.8003 54.8094V32.008C80.8003 24.5885 76.8191 17.8023 70.4854 14.0926L50.7603 2.78232C44.3361 -0.92744 36.4642 -0.92744 30.04 2.78232L10.4054 14.0926C3.9812 17.8023 0 24.6789 0 32.008V54.7189C0 62.1384 3.9812 68.9246 10.3149 72.6343L29.9495 84.0351C36.3737 87.7448 44.2457 87.7448 50.6699 84.0351L70.3044 72.6343C76.8191 69.0151 80.8003 62.1384 80.8003 54.8094Z" fill="#56FBB1"/>
<path d="M40.3552 63.5861C51.4989 63.5861 60.5327 54.5523 60.5327 43.4086C60.5327 32.2649 51.4989 23.2312 40.3552 23.2312C29.2115 23.2312 20.1777 32.2649 20.1777 43.4086C20.1777 54.5523 29.2115 63.5861 40.3552 63.5861Z" fill="white"/>
<path d="M147.938 20.5167H160.696V64.8528H153.005V27.2124L140.79 64.8528H132.737L120.431 27.6648V64.8528H112.74V20.5167H125.589L136.808 56.0761L147.938 20.5167Z" fill="#0A3149"/>
<path d="M199.512 54.8094C197.702 61.505 192.002 65.6672 184.13 65.6672C174.267 65.6672 167.934 58.9715 167.934 48.928C167.934 38.8845 174.267 32.1889 184.311 32.1889C195.44 32.1889 201.231 40.5132 198.155 50.9186H175.625C176.258 56.1666 179.153 59.243 184.22 59.243C187.749 59.243 190.554 57.6143 191.64 54.7189H199.512V54.8094ZM175.715 45.8516H191.278C191.73 41.3275 189.106 38.3416 184.13 38.3416C179.425 38.3416 176.439 40.9656 175.715 45.8516Z" fill="#0A3149"/>
<path d="M228.557 20.5167H235.795V64.8528H228.557V60.1478C226.114 63.6766 222.404 65.7577 217.789 65.7577C209.465 65.7577 203.493 59.062 203.493 49.0185C203.493 38.975 209.284 32.2794 217.789 32.2794C222.404 32.2794 226.114 34.27 228.557 37.8892V20.5167ZM228.828 49.0185C228.828 42.7753 225.299 38.6131 219.961 38.6131C214.532 38.6131 211.003 42.7753 211.003 49.0185C211.003 55.2618 214.532 59.4239 219.961 59.4239C225.299 59.3334 228.828 55.2618 228.828 49.0185Z" fill="#0A3149"/>
<path d="M262.578 33.1842H269.816V64.8528H262.578V59.1525C260.316 63.4051 256.787 65.5767 252.353 65.5767C243.577 65.5767 242.129 56.7999 242.129 51.1901V33.0937H249.367V51.0996C249.367 55.2618 250.363 59.243 254.887 59.243C259.592 59.243 262.578 55.0808 262.578 49.1995V33.1842Z" fill="#0A3149"/>
<path d="M275.156 53.4521H282.123C281.67 57.3428 284.566 59.8763 289.542 59.8763C293.433 59.8763 295.967 58.3381 295.967 56.0761C295.967 49.7424 275.608 54.2665 275.608 42.4133C275.608 36.0796 281.489 32.1889 289.18 32.1889C297.686 32.1889 303.839 36.8939 302.481 44.1325H295.424C296.329 40.5132 293.433 38.0702 289.09 38.0702C285.38 38.0702 283.028 39.6989 283.028 41.9609C283.028 48.3851 303.477 43.4991 303.477 55.5332C303.477 61.9574 297.686 65.6672 289.452 65.6672C280.494 65.6672 274.613 61.1431 275.156 53.4521Z" fill="#0A3149"/>
<path d="M335.868 46.8469V64.8528H329.173V59.3334C326.82 63.4051 322.929 65.7577 317.772 65.7577C311.076 65.7577 306.914 61.8669 306.914 56.3475C306.914 49.9233 312.524 46.1231 321.391 46.1231C323.834 46.1231 326.368 46.3945 328.63 46.9374C328.63 42.1419 326.911 38.6131 321.844 38.6131C318.043 38.6131 315.691 40.5132 316.415 44.042H309.086C307.366 36.9844 313.61 32.2794 321.844 32.2794C331.163 32.2794 335.868 37.9797 335.868 46.8469ZM328.901 52.3663C326.82 51.6425 324.287 51.2806 322.025 51.2806C316.867 51.2806 314.334 53.1807 314.334 56.0761C314.334 58.6096 316.234 59.9668 319.31 59.9668C323.925 59.9668 327.725 56.9809 328.901 52.3663Z" fill="#0A3149"/>
<svg width="204" height="49" viewBox="0 0 204 49" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M81.4167 35.7292H76.8178V23.765C76.8178 22.4311 76.4922 21.383 75.841 20.6208C75.1898 19.8314 74.2945 19.4366 73.1549 19.4366C71.8526 19.4366 70.8351 19.8722 70.1025 20.7433C69.3971 21.6144 69.0444 22.8122 69.0444 24.3367V35.7292H64.4048V15.7208H68.963V17.4766C70.2111 15.9794 71.934 15.2308 74.1317 15.2308C76.6007 15.2308 78.4592 16.1019 79.7073 17.8441C81.2539 16.1019 83.3295 15.2308 85.9342 15.2308C88.5389 15.2308 90.5059 15.993 91.8354 17.5175C93.192 19.0147 93.8703 21.2061 93.8703 24.0916V35.7292H89.2307V23.765C89.2307 22.4311 88.9051 21.383 88.254 20.6208C87.6028 19.8314 86.7074 19.4366 85.5679 19.4366C84.2655 19.4366 83.2481 19.8858 82.5155 20.7841C81.7829 21.6553 81.4167 22.8394 81.4167 24.3367V35.7292Z" fill="#111827"/>
<path d="M116.441 25.48L116.4 27.1133H102.766C102.875 28.6105 103.404 29.7947 104.354 30.6658C105.303 31.5369 106.524 31.9725 108.016 31.9725C110.16 31.9725 111.869 31.0333 113.144 29.155L116.278 32.095C114.162 34.8172 111.408 36.1783 108.016 36.1783C105.005 36.1783 102.59 35.2255 100.772 33.32C98.9272 31.3872 98.0047 28.8964 98.0047 25.8475C98.0047 22.8803 98.8458 20.3622 100.528 18.2933C102.237 16.2516 104.503 15.2308 107.325 15.2308C110.336 15.2308 112.602 16.238 114.121 18.2525C115.668 20.2669 116.441 22.6761 116.441 25.48ZM107.365 19.4775C106.199 19.4775 105.235 19.845 104.476 20.58C103.743 21.315 103.255 22.2542 103.011 23.3975H111.517C111.489 22.2814 111.123 21.3558 110.418 20.6208C109.712 19.8586 108.695 19.4775 107.365 19.4775Z" fill="#111827"/>
<path d="M130.108 15.2308C132.332 15.2308 134.191 15.8841 135.683 17.1908V7.10498H140.323V35.7292H135.765V33.9325C134.354 35.4297 132.468 36.1783 130.108 36.1783C127.286 36.1783 124.953 35.1983 123.108 33.2383C121.29 31.2511 120.381 28.7467 120.381 25.725C120.381 22.7033 121.29 20.1989 123.108 18.2116C124.925 16.2244 127.259 15.2308 130.108 15.2308ZM134.34 21.1516C133.391 19.9539 132.088 19.355 130.433 19.355C128.778 19.355 127.476 19.9539 126.526 21.1516C125.577 22.3494 125.102 23.8739 125.102 25.725C125.102 27.5761 125.577 29.1005 126.526 30.2983C127.476 31.4961 128.778 32.095 130.433 32.095C132.088 32.095 133.391 31.4961 134.34 30.2983C135.29 29.1005 135.765 27.5761 135.765 25.725C135.765 23.8739 135.29 22.3494 134.34 21.1516Z" fill="#111827"/>
<path d="M145.431 15.7208H150.071V27.685C150.071 29.0189 150.396 30.0805 151.048 30.87C151.699 31.6322 152.621 32.0133 153.815 32.0133C155.09 32.0133 156.094 31.5642 156.827 30.6658C157.586 29.7403 157.966 28.5153 157.966 26.9908V15.7208H162.606V35.7292H158.048V34.0958C156.772 35.4842 155.05 36.1783 152.879 36.1783C150.6 36.1783 148.782 35.4025 147.425 33.8508C146.096 32.2719 145.431 30.1078 145.431 27.3583V15.7208Z" fill="#111827"/>
<path d="M176.355 28.175L173.709 27.5217C169.667 26.5689 167.645 24.4592 167.645 21.1925C167.645 19.3958 168.324 17.953 169.68 16.8642C171.037 15.7753 172.787 15.2308 174.93 15.2308C177.806 15.2308 180.316 16.3469 182.46 18.5791L179.489 21.7642C178.268 20.0764 176.708 19.2325 174.808 19.2325C173.994 19.2325 173.33 19.423 172.814 19.8041C172.326 20.158 172.082 20.5936 172.082 21.1108C172.082 22.0364 172.733 22.6625 174.035 22.9892L177.169 23.7242C181.239 24.6497 183.274 26.7322 183.274 29.9717C183.274 31.8228 182.568 33.32 181.157 34.4633C179.774 35.6067 177.847 36.1783 175.378 36.1783C171.905 36.1783 169.151 34.8853 167.116 32.2992L170.047 29.2775C171.512 31.2103 173.411 32.1767 175.744 32.1767C177.779 32.1767 178.797 31.4961 178.797 30.135C178.797 29.2639 177.983 28.6105 176.355 28.175Z" fill="#111827"/>
<path d="M193.271 36.1783C191.345 36.1783 189.744 35.6339 188.469 34.545C187.194 33.4289 186.556 31.9453 186.556 30.0942C186.556 27.9708 187.316 26.3239 188.835 25.1533C190.355 23.9828 192.362 23.3975 194.859 23.3975C196.107 23.3975 197.45 23.6289 198.888 24.0916V22.7442C198.888 21.7642 198.521 20.9747 197.789 20.3758C197.056 19.7497 196.12 19.4366 194.981 19.4366C192.892 19.4366 191.318 20.403 190.26 22.3358L187.126 19.3958C187.858 18.0619 188.93 17.0411 190.341 16.3333C191.779 15.5983 193.339 15.2308 195.021 15.2308C197.653 15.2308 199.729 15.8841 201.248 17.1908C202.768 18.4975 203.527 20.3622 203.527 22.785V35.7292H198.969V34.1775C197.477 35.5114 195.578 36.1783 193.271 36.1783ZM191.196 29.7675C191.196 30.448 191.453 31.0061 191.969 31.4417C192.512 31.8772 193.258 32.095 194.207 32.095C196.161 32.095 197.721 31.5233 198.888 30.38V28.0933C197.423 27.5489 196.039 27.2767 194.736 27.2767C193.651 27.2767 192.783 27.4944 192.132 27.93C191.508 28.3655 191.196 28.978 191.196 29.7675Z" fill="#111827"/>
<path d="M39.5317 7.95388L28.5055 1.57035C24.8979 -0.52345 20.4772 -0.52345 16.8696 1.57035L5.79257 7.95388C2.23573 10.0477 0 13.9289 0 18.0654V30.8835C0 35.0711 2.23573 38.9013 5.79257 40.9951L16.8188 47.4297C20.4264 49.5234 24.8471 49.5234 28.4547 47.4297L39.4809 40.9951C43.0886 38.9013 45.2735 35.0711 45.2735 30.8835V18.0654C45.3751 13.9289 43.1394 10.0477 39.5317 7.95388ZM22.6621 35.8882C16.4123 35.8882 11.3311 30.7814 11.3311 24.5C11.3311 18.2186 16.4123 13.1118 22.6621 13.1118C28.912 13.1118 34.044 18.2186 34.044 24.5C34.044 30.7814 28.9628 35.8882 22.6621 35.8882Z" fill="url(#paint0_linear_107_5)"/>
<defs>
<linearGradient id="paint0_linear_107_5" x1="-1.75721e-09" y1="24.5" x2="45.2768" y2="24.5" gradientUnits="userSpaceOnUse">
<stop stop-color="#7C53FF"/>
<stop offset="1" stop-color="#F796FF"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 5.4 KiB