diff --git a/docs/en/next/commands.html b/docs/en/next/commands.html index 8b66d7efc2..fb9dcd7f1e 100644 --- a/docs/en/next/commands.html +++ b/docs/en/next/commands.html @@ -37,7 +37,7 @@

Docusaurus provides some default mappings to allow you to run commands following Node conventions. Instead of typing docusaurus-start every time, you can type yarn run start or npm start to achieve the same.

Commands


Reference

-

docusaurus-build

+

docusaurus-build [--skip-image-compression]

Alias: build.

-

Generates the static website, applying translations if necessary. Useful for building the website prior to deployment.

+

Generates the static website, applying translations if necessary. Useful for building the website prior to deployment. By default Docusaurus will attempt to compress your images unless you provided the --skip-image-compression flag.

See also docusaurus-start.


docusaurus-examples [feature]

@@ -96,7 +96,7 @@

docusaurus-write-translations

Alias: write-translations

Writes the English for any strings that need to be translated into an website/i18n/en.json file. The script will go through every file in website/pages/en and through the siteConfig.js file and other config files to fetch English strings that will then be translated on Crowdin. See the Translation guide to learn more.

-
← VersioningMarkdown Features →