[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: nginx + build rul
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: nginx + build rules for translated docs landing. |
Date: |
Mon, 24 Sep 2018 15:50:40 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new 19dd63b nginx + build rules for translated docs landing.
19dd63b is described below
commit 19dd63bfc29331fe5f774aa110ff14f628727525
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Sep 24 15:50:13 2018 +0200
nginx + build rules for translated docs landing.
---
etc/nginx/sites-enabled/docs-ssl.site | 5 +++++
taler-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
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
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: nginx + build rules for translated docs landing.,
gnunet <=