// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`loadSiteConfig website with .cjs siteConfig 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/docusaurus.config.cjs",
}
`;

exports[`loadSiteConfig website with ts + js config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "TS title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/sites/ts-and-js-site/docusaurus.config.ts",
}
`;

exports[`loadSiteConfig website with valid JS CJS config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/configCJS.js",
}
`;

exports[`loadSiteConfig website with valid JS ESM config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/configESM.js",
}
`;

exports[`loadSiteConfig website with valid TypeScript CJS config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/configCJS.ts",
}
`;

exports[`loadSiteConfig website with valid TypeScript ESM config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "plugins": [],
    "presets": [],
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "",
    "themeConfig": {},
    "themes": [],
    "title": "title",
    "titleDelimiter": "|",
    "url": "https://example.com",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/configESM.ts",
}
`;

exports[`loadSiteConfig website with valid async config 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "organizationName": "endiliey",
    "plugins": [],
    "presets": [],
    "projectName": "hello",
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "Hello World",
    "themeConfig": {},
    "themes": [],
    "title": "Hello",
    "titleDelimiter": "|",
    "url": "https://docusaurus.io",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/configAsync.config.js",
}
`;

exports[`loadSiteConfig website with valid async config creator function 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "organizationName": "endiliey",
    "plugins": [],
    "presets": [],
    "projectName": "hello",
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "Hello World",
    "themeConfig": {},
    "themes": [],
    "title": "Hello",
    "titleDelimiter": "|",
    "url": "https://docusaurus.io",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/createConfigAsync.config.js",
}
`;

exports[`loadSiteConfig website with valid config creator function 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [],
    "customFields": {},
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "organizationName": "endiliey",
    "plugins": [],
    "presets": [],
    "projectName": "hello",
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "Hello World",
    "themeConfig": {},
    "themes": [],
    "title": "Hello",
    "titleDelimiter": "|",
    "url": "https://docusaurus.io",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/config/createConfig.config.js",
}
`;

exports[`loadSiteConfig website with valid siteConfig 1`] = `
{
  "siteConfig": {
    "baseUrl": "/",
    "baseUrlIssueBanner": true,
    "clientModules": [
      "foo.js",
    ],
    "customFields": {},
    "favicon": "img/docusaurus.ico",
    "future": {
      "experimental_faster": {
        "gitEagerVcs": false,
        "lightningCssMinimizer": false,
        "mdxCrossCompilerCache": false,
        "rspackBundler": false,
        "rspackPersistentCache": false,
        "ssgWorkerThreads": false,
        "swcHtmlMinimizer": false,
        "swcJsLoader": false,
        "swcJsMinimizer": false,
      },
      "experimental_router": "browser",
      "experimental_storage": {
        "namespace": false,
        "type": "localStorage",
      },
      "experimental_vcs": {
        "getFileCreationInfo": [Function],
        "getFileLastUpdateInfo": [Function],
        "initialize": [Function],
      },
      "v4": {
        "removeLegacyPostBuildHeadAttribute": false,
        "useCssCascadeLayers": false,
      },
    },
    "headTags": [],
    "i18n": {
      "defaultLocale": "en",
      "localeConfigs": {},
      "locales": [
        "en",
      ],
      "path": "i18n",
    },
    "markdown": {
      "anchors": {
        "maintainCase": false,
      },
      "emoji": true,
      "format": "mdx",
      "hooks": {
        "onBrokenMarkdownImages": "throw",
        "onBrokenMarkdownLinks": "warn",
      },
      "mdx1Compat": {
        "admonitions": true,
        "comments": true,
        "headingIds": true,
      },
      "mermaid": false,
      "parseFrontMatter": [Function],
      "preprocessor": undefined,
      "remarkRehypeOptions": undefined,
    },
    "noIndex": false,
    "onBrokenAnchors": "warn",
    "onBrokenLinks": "throw",
    "onDuplicateRoutes": "warn",
    "organizationName": "endiliey",
    "plugins": [
      [
        "@docusaurus/plugin-content-docs",
        {
          "path": "../docs",
        },
      ],
      "@docusaurus/plugin-content-pages",
    ],
    "presets": [],
    "projectName": "hello",
    "scripts": [],
    "staticDirectories": [
      "static",
    ],
    "stylesheets": [],
    "tagline": "Hello World",
    "themeConfig": {},
    "themes": [],
    "title": "Hello",
    "titleDelimiter": "|",
    "url": "https://docusaurus.io",
  },
  "siteConfigPath": "<PROJECT_ROOT>/packages/docusaurus/src/server/__tests__/__fixtures__/simple-site/docusaurus.config.js",
}
`;
