taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 19dd63bfc29331fe5f774aa110ff14f628727525
parent 7eb275889d91c1c011269a9264c0c418df92107e
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 24 Sep 2018 15:50:13 +0200

nginx + build rules for translated docs landing.

Diffstat:
Metc/nginx/sites-enabled/docs-ssl.site | 5+++++
Mtaler-docbuild/update_doc_landing.sh | 8+++++++-
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git 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 @@ -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