diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index fd2b1562c2..4f9f702e54 100644
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -75,9 +75,9 @@ const isVersioningDisabled = !!process.env.DISABLE_VERSIONING || isI18nStaging;
['en']
: isI18nStaging
? // Staging locales: https://docusaurus-i18n-staging.netlify.app/
- ['en', 'ja', 'pt-BR']
+ ['en', 'ja']
: // Production locales
- ['en', 'fr', 'ko', 'zh-CN'],
+ ['en', 'fr', 'pt-BR', 'ko', 'zh-CN'],
},
webpack: {
jsLoader: (isServer) => ({
diff --git a/website/versioned_docs/version-2.0.0-beta.0/api/docusaurus.config.js.md b/website/versioned_docs/version-2.0.0-beta.0/api/docusaurus.config.js.md
deleted file mode 100644
index 5af7569d27..0000000000
--- a/website/versioned_docs/version-2.0.0-beta.0/api/docusaurus.config.js.md
+++ /dev/null
@@ -1,489 +0,0 @@
----
-id: docusaurus.config.js
-title: docusaurus.config.js
-description: API reference for Docusaurus configuration file.
-slug: /docusaurus.config.js
----
-
-## Overview {#overview}
-
-`docusaurus.config.js` contains configurations for your site and is placed in the root directory of your site.
-
-## Required fields {#required-fields}
-
-### `title` {#title}
-
-- Type: `string`
-
-Title for your website.
-
-```js title="docusaurus.config.js"
-module.exports = {
- title: 'Docusaurus',
-};
-```
-
-### `favicon` {#favicon}
-
-- Type: `string`
-
-URL for site favicon. Example:
-
-```js title="docusaurus.config.js"
-module.exports = {
- favicon: 'https://docusaurus.io/favicon.ico',
-};
-```
-
-You can also use the favicon URL relative to the `static` directory of your site. For example, your site has the following directory structure:
-
-```bash
-.
-├── README.md
-├ # ... other files in root directory
-└─ static
- └── img
- └── favicon.ico
-```
-
-So you can refer it like below:
-
-```js title="docusaurus.config.js"
-module.exports = {
- favicon: 'img/favicon.ico',
-};
-```
-
-### `url` {#url}
-
-- Type: `string`
-
-URL for your website. This can also be considered the top-level hostname. For example, `https://facebook.github.io` is the URL of https://facebook.github.io/metro/, and `https://docusaurus.io` is the URL for https://docusaurus.io. This field is related to the [baseUrl](#baseurl) field.
-
-```js title="docusaurus.config.js"
-module.exports = {
- url: 'https://docusaurus.io',
-};
-```
-
-### `baseUrl` {#baseurl}
-
-- Type: `string`
-
-Base URL for your site. This can also be considered the path after the host. For example, `/metro/` is the baseUrl of https://facebook.github.io/metro/. For URLs that have no path, the baseUrl should be set to `/`. This field is related to the [url](#url) field.
-
-```js title="docusaurus.config.js"
-module.exports = {
- baseUrl: '/',
-};
-```
-
-## Optional fields {#optional-fields}
-
-### `i18n` {#i18n}
-
-- Type: `Object`
-
-The i18n configuration object to [localize your site](../i18n/i18n-introduction.md).
-
-Example:
-
-```js title="docusaurus.config.js"
-module.exports = {
- i18n: {
- defaultLocale: 'en',
- locales: ['en', 'fr'],
- localeConfigs: {
- en: {
- label: 'English',
- direction: 'ltr',
- },
- fr: {
- label: 'Français',
- direction: 'ltr',
- },
- },
- },
-};
-```
-
-- `label`: the label to use for this locale
-- `direction`: `ltr` (default) or `rtl` (for [right-to-left languages](https://developer.mozilla.org/en-US/docs/Glossary/rtl) like Araric, Hebrew, etc.)
-
-### `noIndex` {#noindex}
-
-- Type: `boolean`
-
-This option adds `` in pages, to tell search engines to avoid indexing your site (more information [here](https://moz.com/learn/seo/robots-meta-directives)).
-
-Example:
-
-```js title="docusaurus.config.js"
-module.exports = {
- noIndex: true, // Defaults to `false`
-};
-```
-
-### `onBrokenLinks` {#onbrokenlinks}
-
-- Type: `'ignore' | 'log' | 'warn' | 'error' | 'throw'`
-
-The behavior of Docusaurus, when it detects any broken link.
-
-By default, it throws an error, to ensure you never ship any broken link, but you can lower this security if needed.
-
-:::note
-
-The broken links detection is only available for a production build (`docusaurus build`).
-
-:::
-
-### `onBrokenMarkdownLinks` {#onbrokenmarkdownlinks}
-
-- Type: `'ignore' | 'log' | 'warn' | 'error' | 'throw'`
-
-The behavior of Docusaurus, when it detects any broken markdown link.
-
-By default, it prints a warning, to let you know about your broken markdown link, but you can change this security if needed.
-
-### `onDuplicateRoutes` {#onduplicateroutes}
-
-- Type: `'ignore' | 'log' | 'warn' | 'error' | 'throw'`
-
-The behavior of Docusaurus when it detects any [duplicate routes](/guides/creating-pages.md#duplicate-routes).
-
-By default, it displays a warning after you run `yarn start` or `yarn build`.
-
-### `tagline` {#tagline}
-
-- Type: `string`
-
-The tagline for your website.
-
-```js title="docusaurus.config.js"
-module.exports = {
- tagline:
- 'Docusaurus makes it easy to maintain Open Source documentation websites.',
-};
-```
-
-### `organizationName` {#organizationname}
-
-- Type: `string`
-
-The GitHub user or organization that owns the repository. Used by the deployment command.
-
-```js title="docusaurus.config.js"
-module.exports = {
- // Docusaurus' organization is facebook
- organizationName: 'facebook',
-};
-```
-
-### `projectName` {#projectname}
-
-- Type: `string`
-
-The name of the GitHub repository. Used by the deployment command.
-
-```js title="docusaurus.config.js"
-module.exports = {
- projectName: 'docusaurus',
-};
-```
-
-### `githubHost` {#githubhost}
-
-- Type: `string`
-
-The hostname of your server. Useful if you are using GitHub Enterprise.
-
-```js title="docusaurus.config.js"
-module.exports = {
- githubHost: 'github.com',
-};
-```
-
-### `githubPort` {#githubPort}
-
-- Type: `string`
-
-The port of your server. Useful if you are using GitHub Enterprise.
-
-```js title="docusaurus.config.js"
-module.exports = {
- githubPort: '22',
-};
-```
-
-### `themeConfig` {#themeconfig}
-
-- Type: `Object`
-
-The [theme configuration](./themes/theme-configuration.md) object, to customize your site UI like navbar, footer.
-
-Example:
-
-```js title="docusaurus.config.js"
-module.exports = {
- themeConfig: {
- hideableSidebar: false,
- colorMode: {
- defaultMode: 'light',
- disableSwitch: false,
- respectPrefersColorScheme: true,
- switchConfig: {
- darkIcon: '🌙',
- lightIcon: '\u2600',
- // React inline style object
- // see https://reactjs.org/docs/dom-elements.html#style
- darkIconStyle: {
- marginLeft: '2px',
- },
- lightIconStyle: {
- marginLeft: '1px',
- },
- },
- },
- navbar: {
- title: 'Site Title',
- logo: {
- alt: 'Site Logo',
- src: 'img/logo.svg',
- },
- items: [
- {
- to: 'docs/docusaurus.config.js',
- activeBasePath: 'docs',
- label: 'docusaurus.config.js',
- position: 'left',
- },
- // ... other links
- ],
- },
- footer: {
- style: 'dark',
- links: [
- {
- title: 'Docs',
- items: [
- {
- label: 'Docs',
- to: 'docs/doc1',
- },
- ],
- },
- // ... other links
- ],
- logo: {
- alt: 'Facebook Open Source Logo',
- src: 'https://docusaurus.io/img/oss_logo.png',
- },
- copyright: `Copyright © ${new Date().getFullYear()} Facebook, Inc.`, // You can also put own HTML here
- },
- },
-};
-```
-
-### `plugins` {#plugins}
-
-
-
-- Type: `any[]`
-
-```js title="docusaurus.config.js"
-module.exports = {
- plugins: [],
-};
-```
-
-### `themes` {#themes}
-
-
-
-- Type: `any[]`
-
-```js title="docusaurus.config.js"
-module.exports = {
- themes: [],
-};
-```
-
-### `presets` {#presets}
-
-
-
-- Type: `any[]`
-
-```js title="docusaurus.config.js"
-module.exports = {
- presets: [],
-};
-```
-
-### `customFields` {#customfields}
-
-Docusaurus guards `docusaurus.config.js` from unknown fields. To add a custom field, define it on `customFields`.
-
-- Type: `Object`
-
-```js title="docusaurus.config.js"
-module.exports = {
- customFields: {
- admin: 'endi',
- superman: 'lol',
- },
-};
-```
-
-Attempting to add unknown field in the config will lead to error in build time:
-
-```bash
-Error: The field(s) 'foo', 'bar' are not recognized in docusaurus.config.js
-```
-
-### `scripts` {#scripts}
-
-An array of scripts to load. The values can be either strings or plain objects of attribute-value maps. The `
- <% }); %>
- <%~ it.postBodyTags %>
-