chore(docs): updated docusaurus to v2.3.0 (#3145)

This commit is contained in:
Shahed Nasser
2023-01-30 16:41:02 +02:00
committed by GitHub
parent 061a0a37fa
commit 15a7ba2914
4 changed files with 297 additions and 353 deletions

View File

@@ -1,3 +1,4 @@
require('dotenv').config();
const path = require("path")
const fs = require("fs")
const docsPath = path.join(__dirname, "../../docs/content")
@@ -16,18 +17,11 @@ const config = {
url: "https://docs.medusajs.com",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
onBrokenMarkdownLinks: "throw",
favicon: "img/favicon.ico",
organizationName: "medusajs",
projectName: "medusajs/www",
plugins: [
[
"docusaurus2-dotenv",
{
path: "./.env", // The path to your environment variables.
systemvars: true, // Set to true if you would rather load all system variables as well (useful for CI purposes)
},
],
[
"docusaurus-plugin-segment",
{