aboutsummaryrefslogtreecommitdiff
path: root/docs/build.sh
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-09-17 09:43:22 -0700
committerMicah Lee <micah@micahflee.com>2020-09-17 09:43:22 -0700
commite4e525b5133fd599055c99c423df4a91877be04e (patch)
tree96cd0002f736584dcedf140e2ab61d1d70c68ce5 /docs/build.sh
parentee1c5bcdd4297884fc0bd3f1e54beaf747d9d8c1 (diff)
downloadonionshare-e4e525b5133fd599055c99c423df4a91877be04e.tar.gz
onionshare-e4e525b5133fd599055c99c423df4a91877be04e.zip
Set build.sh to build docs for all locales, and enable English, Spanish, and Ukranian
Diffstat (limited to 'docs/build.sh')
-rwxr-xr-xdocs/build.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/build.sh b/docs/build.sh
index 26492fec..40460f50 100755
--- a/docs/build.sh
+++ b/docs/build.sh
@@ -3,8 +3,7 @@
VERSION=`cat ../share/version.txt`
# Supported locales
-#LOCALES="ar ca zh_CN zh_TW da nl en fr de el is ga it ja nb fa pl pt_BR pt_PT ro ru sr@latin es sv te tr uk"
-LOCALES="en es"
+LOCALES="ar ca zh_CN zh_TW da nl en fr de el is ga it ja nb fa pl pt_BR pt_PT ro ru sr@latin es sv te tr uk"
# Generate English .po files
make gettext
@@ -32,4 +31,4 @@ done
echo '<html><head><meta http-equiv="refresh" content="0; url=en/" /><script>document.location="en/"</script></head></html>' > build/docs/$VERSION/index.html
# Redirect to latest version
-echo '<html><head><meta http-equiv="refresh" content="0; url='$VERSION'/en/" /><script>document.location="'$VERSION'/en/"</script></head></html>' > build/docs/index.html \ No newline at end of file
+echo '<html><head><meta http-equiv="refresh" content="0; url='$VERSION'/en/" /><script>document.location="'$VERSION'/en/"</script></head></html>' > build/docs/index.html