multilang: add
Added mkdocs-git build files for multilang version.
This commit is contained in:
parent
f4c4b2db83
commit
570090acbc
4 changed files with 53 additions and 0 deletions
10
multilang/mkdocs-git-multilang
Normal file
10
multilang/mkdocs-git-multilang
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec 2>&1
|
||||
find /mkdocs/repo || git clone $GIT_REPO_URL /mkdocs/repo
|
||||
cd /mkdocs/repo && git pull
|
||||
|
||||
for lang in $WIKI_LANG
|
||||
do
|
||||
mkdocs build -f /mkdocs/repo/config/${lang}/mkdocs.yml -d /usr/share/nginx/html/${lang}
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue