Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 22, 2024
1 parent 15f0afc commit d2937a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/docusaurus/bin/docusaurus.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ cli
)
.option(
'-l, --locale <locale...>',
'build the site in a specified locale. Build all known locales otherwise',
'build the site in the specified locale(s). Build all known locales otherwise',
concatLocaleOptions,
)
.option(
Expand Down Expand Up @@ -111,7 +111,7 @@ cli
.description('Deploy website to GitHub pages.')
.option(
'-l, --locale <locale>',
'deploy the site in a specified locale. Deploy all known locales otherwise',
'deploy the site in the specified locale(s). Deploy all known locales otherwise',
concatLocaleOptions,
)
.option(
Expand Down
4 changes: 2 additions & 2 deletions website/docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Compiles your site for production.
| `--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. |
| `--locale` | | Build the site in the specified locale(s). If not specified, all known locales are built. |
| `--no-minify` | `false` | Build website without minimizing JS/CSS bundles. |

:::info
Expand Down Expand Up @@ -141,7 +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. |
| `--locale` | | Deploy the site in the specified locale(s). 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. |
| `--target-dir` | `.` | Path to the target directory to deploy to. |
Expand Down

0 comments on commit d2937a3

Please sign in to comment.