Update doc and website references to new domain (#856)
This commit is contained in:
@@ -8,7 +8,7 @@ const algoliaApiKey = process.env.ALGOLIA_API_KEY || "temp"
|
||||
module.exports = {
|
||||
title: "Medusa Commerce",
|
||||
tagline: "Explore and learn how to use Medusa",
|
||||
url: "https://docs.medusa-commerce.com",
|
||||
url: "https://docs.medusajs.com",
|
||||
baseUrl: "/",
|
||||
onBrokenLinks: "throw",
|
||||
onBrokenMarkdownLinks: "warn",
|
||||
@@ -47,7 +47,7 @@ module.exports = {
|
||||
},
|
||||
items: [
|
||||
{
|
||||
href: "https://docs.medusa-commerce.com",
|
||||
href: "https://docs.medusajs.com",
|
||||
label: "Overview",
|
||||
},
|
||||
{
|
||||
@@ -56,7 +56,7 @@ module.exports = {
|
||||
label: "Tutorial",
|
||||
},
|
||||
{
|
||||
href: `https://docs.medusa-commerce.com/api/store`,
|
||||
href: `https://docs.medusajs.com/api/store`,
|
||||
target: "_self",
|
||||
label: "Reference",
|
||||
},
|
||||
|
||||
@@ -134,7 +134,7 @@ function DocSearch({ contextualSearch, ...props }) {
|
||||
const url = replaceUrl(item)
|
||||
// Need to type out the entire URL to prevent it from attempting to open the page
|
||||
// as part of the docusaurus project. Which will fail.
|
||||
window.location = `https://docs.medusa-commerce.com${url}`
|
||||
window.location = `https://docs.medusajs.com${url}`
|
||||
},
|
||||
navigateNewTab({ item }) {
|
||||
const url = replaceUrl(item)
|
||||
|
||||
Reference in New Issue
Block a user