mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
19 lines
450 B
Bash
Executable File
19 lines
450 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ $# -lt 1 ]; then
|
|
LANGS="ru en"
|
|
elif [[ $# -eq 1 ]]; then
|
|
LANGS=$1
|
|
fi
|
|
|
|
for lang in $LANGS; do
|
|
echo -e "\n\nLANG=$lang. Creating single page source"
|
|
mkdir $lang'_single_page'
|
|
cp -r $lang/images $lang'_single_page'
|
|
./concatenate.py $lang
|
|
echo -e "\n\nLANG=$lang. Building multipage..."
|
|
mkdocs build -f mkdocs_$lang.yml
|
|
echo -e "\n\nLANG=$lang. Building single page..."
|
|
mkdocs build -f mkdocs_$lang'_single_page.yml'
|
|
done
|