diff --git a/website/docs/cli.mdx b/website/docs/cli.mdx index 0b38c01776..2800d7f6d9 100644 --- a/website/docs/cli.mdx +++ b/website/docs/cli.mdx @@ -37,9 +37,9 @@ Builds and serves a preview of your site locally with [Webpack Dev Server](https | Name | Default | Description | | --- | --- | --- | -| `--dev` | | Builds in dev mode, including full React error messages. | | `--port` | `3000` | Specifies the port of the dev server. | | `--host` | `localhost` | Specify a host to use. For example, if you want your server to be accessible externally, you can use `--host 0.0.0.0`. | +| `--locale` | | Specify site locale to be used. | | `--hot-only` | `false` | Enables Hot Module Replacement without page refresh as a fallback in case of build failures. More information [here](https://webpack.js.org/configuration/dev-server/#devserverhotonly). | | `--no-open` | `false` | Do not open the page automatically in the browser. | | `--config` | `undefined` | Path to Docusaurus config file, default to `[siteDir]/docusaurus.config.js` | @@ -86,9 +86,11 @@ Compiles your site for production. | Name | Default | Description | | --- | --- | --- | +| `--dev` | | Builds the website in dev mode, including full React error messages. | | `--bundle-analyzer` | `false` | Analyze your bundle with the [webpack bundle analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer). | | `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. | | `--config` | `undefined` | Path to Docusaurus config file, default to `[siteDir]/docusaurus.config.js` | +| `--locale` | | Build the site in the specified locale. If not specified, all known locales are built. | | `--no-minify` | `false` | Build website without minimizing JS/CSS bundles. | :::info @@ -139,6 +141,7 @@ Deploys your site with [GitHub Pages](https://pages.github.com/). Check out the | Name | Default | Description | | --- | --- | --- | +| `--locale` | | Deploy the site in the specified locale. If not specified, all known locales are deployed. | | `--out-dir` | `build` | The full path for the new output directory, relative to the current workspace. | | `--skip-build` | `false` | Deploy website without building it. This may be useful when using a custom deploy script. | | `--config` | `undefined` | Path to Docusaurus config file, default to `[siteDir]/docusaurus.config.js` |