File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ main() {
40
40
41
41
if [[ -z " $locale " ]]; then
42
42
echo " Building default Docusaurus (English)"
43
- build_command=" GENERATE_SOURCEMAP=false docusaurus build"
43
+ build_command=" GENERATE_SOURCEMAP=false docusaurus build --locale en "
44
44
else
45
45
echo " Setting locale to: $locale "
46
46
export DOCUSUARUS_LOCALE=" $locale "
@@ -51,7 +51,7 @@ main() {
51
51
52
52
# Append output directory if provided
53
53
if [[ -n " $out_dir " ]]; then
54
- build_command+=" --out-dir $out_dir /en "
54
+ build_command+=" --out-dir $out_dir "
55
55
fi
56
56
57
57
# Execute the build command for English (or without locale if no locale provided)
@@ -62,7 +62,7 @@ main() {
62
62
build_command=" GENERATE_SOURCEMAP=false docusaurus build --locale $locale "
63
63
64
64
if [[ -n " $out_dir " ]]; then
65
- build_command+=" --out-dir $out_dir / $locale "
65
+ build_command+=" --out-dir $out_dir "
66
66
fi
67
67
68
68
# Execute the build command for the additional locale
You can’t perform that action at this time.
0 commit comments