diff options
author | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2020-01-14 00:05:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 00:05:14 +0200 |
commit | 1305dd91540abcec08df18a0ed66c8986d018163 (patch) | |
tree | c39ca72ab2dc19a9119cf998d14e915067a4870a | |
parent | cdb4ac344771f24a854081ebdebf79dc53f933bd (diff) |
Control introduction of new languages in docs translation (#7722)
Explicitly specify which translations to include in the docs localization options.
We need that in order to run a proper test of a new language, before we show the option for it.
Previously, we automatically added any new languages present in the netdata/localization project, without ensuring that:
- An option for the language appears on the language selection menu
- The links in the new language are valid (`checklinks.sh` script)
-rwxr-xr-x | docs/generator/buildhtml.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/generator/buildhtml.sh b/docs/generator/buildhtml.sh index bcfe726267..e6fa662c36 100755 --- a/docs/generator/buildhtml.sh +++ b/docs/generator/buildhtml.sh @@ -91,7 +91,7 @@ prep_html() { } -for d in "en" $(find ${LOC_DIR} -mindepth 1 -maxdepth 1 -name .git -prune -o -type d -printf '%f ') ; do +for d in "en" "zh" "pt" ; do echo "Preparing source for $d" cp -r ${SRC_DIR} ${DOCS_DIR} if [ "${d}" != "en" ] ; then |