You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
348 B

export ruInputFiles=$(ls src/ru/src)
for inputFile in ${ruInputFiles}
do
python3.9 ${1} --file src/ru/src/${inputFile} --output src/en/src/${inputFile}
done
buildEnglishTranslation()
{
cd src/en/
mdbook build
}
buildRussianTranslations()
{
cd src/ru/
mdbook build
}
buildEnglishTranslation
cd ../../
buildRussianTranslations