diff options
-rw-r--r-- | etc/nginx/sites-enabled/docs-ssl.site | 5 | ||||
-rwxr-xr-x | taler-docbuild/update_doc_landing.sh | 8 |
2 files changed, 12 insertions, 1 deletions
diff --git a/etc/nginx/sites-enabled/docs-ssl.site b/etc/nginx/sites-enabled/docs-ssl.site index 2e02a9c..923d703 100644 --- a/etc/nginx/sites-enabled/docs-ssl.site +++ b/etc/nginx/sites-enabled/docs-ssl.site @@ -16,8 +16,13 @@ server { autoindex off; ssi off; # ssi_last_modified on; + + + rewrite ^/$ /$index_redirect_uri/ redirect; + rewrite ^/(..)/$ /$1/index.html break; } + location /code/exchange { alias /home/docbuilder/build/exchange/doxygen; } diff --git a/taler-docbuild/update_doc_landing.sh b/taler-docbuild/update_doc_landing.sh index bbc0086..71f0f0e 100755 --- a/taler-docbuild/update_doc_landing.sh +++ b/taler-docbuild/update_doc_landing.sh @@ -14,6 +14,12 @@ cd $HOME/docs-landing/ fetch git submodule update --force --init +# Get the MOs files. +make compile + +# Get the translated final HTMLs. +make translate + # No compilation needed so far. mkdir -p $HOME/build/docs-landing/ -cp -t $HOME/build/docs-landing/ *.{html,css,svg} +cp -t $HOME/build/docs-landing/ *.{css,svg} en/*.html fr/*.html it/*.html es/*.html pt/*.html ru/*.html de/*.html |