From 0f78742a2d147e98b6cd8cb4e8c7878e24abce4d Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sun, 14 Oct 2018 19:33:02 +0000 Subject: [PATCH] Deploy website Deploy website version based on 1bc1762b02b2b55c824ffc550d3c9efdb9aff7f1 --- docs/en/next/commands.html | 7 +++++-- docs/en/next/commands/index.html | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/en/next/commands.html b/docs/en/next/commands.html index feef34fd52..1d52ddfe29 100644 --- a/docs/en/next/commands.html +++ b/docs/en/next/commands.html @@ -156,7 +156,7 @@

docusaurus-start

Alias: start.

-

This script will build the static website, apply translations if necessary, and then start a local server.

+

This command will build the static website, apply translations if necessary, and then start a local server.

@@ -166,6 +166,9 @@
OptionsDefaultDescription
--watch-Whether to watch the files and live reload the page when files are changed. Defaults to true. Disable this by using --no-watch.
+

You can specify the browser application to be opened by setting the BROWSER environment variable before the command, e.g.:

+
$ BROWSER=firefox yarn start
+

docusaurus-version <version>

Alias: version

@@ -175,7 +178,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.

-
PreviousNext

Last updated: 2018-6-15 06:51:03