From 890898797a8891c757c328e97770079945b5994d Mon Sep 17 00:00:00 2001 From: Andreas Schempp Date: Mon, 19 Dec 2016 09:04:05 +0100 Subject: [PATCH] Deploy manual for Contao 4.3 --- .travis.yml | 2 +- manual/book.json | 9 +++++---- manual/de/README.md | 2 +- manual/de/book.json | 4 ++-- manual/en/README.md | 2 +- manual/fr/README.md | 2 +- manual/fr/book.json | 4 ++-- 7 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 421202e62..0ff240549 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ script: - make deploy after_success: - - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "3.5" -o $TRAVIS_BRANCH == "4.2" && sshpass -p $SCP_PASSWORD rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./manual/_book/* $SCP_USER@w1.vhost.io:/home/$SCP_USER/public/books/manual/$TRAVIS_BRANCH/ + - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "3.5" -o $TRAVIS_BRANCH == "4.3" && sshpass -p $SCP_PASSWORD rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./manual/_book/* $SCP_USER@w1.vhost.io:/home/$SCP_USER/public/books/manual/$TRAVIS_BRANCH/ - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "3.5" && sshpass -p $SCP_PASSWORD rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./manual_en.pdf $SCP_USER@w1.vhost.io:/home/$SCP_USER/public/books/contao-manual-$TRAVIS_BRANCH.pdf - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "3.5" && sshpass -p $SCP_PASSWORD rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./manual_de.pdf $SCP_USER@w1.vhost.io:/home/$SCP_USER/public/books/contao-handbuch-$TRAVIS_BRANCH.pdf - test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "3.5" && sshpass -p $SCP_PASSWORD rsync -avz -e "ssh -o StrictHostKeyChecking=no" ./manual_fr.pdf $SCP_USER@w1.vhost.io:/home/$SCP_USER/public/books/contao-manuel-$TRAVIS_BRANCH.pdf diff --git a/manual/book.json b/manual/book.json index 0abf00432..4af0034a9 100644 --- a/manual/book.json +++ b/manual/book.json @@ -1,6 +1,6 @@ { "gitbook": "3.2.x", - "title": "Manual for Contao 4.2", + "title": "Manual for Contao 4.3", "plugins": [ "bootstrap-callout", "edit-link", @@ -20,7 +20,7 @@ }, "pluginsConfig": { "edit-link": { - "base": "https://github.com/contao/docs/edit/4.2/manual", + "base": "https://github.com/contao/docs/edit/4.3/manual", "label": { "en": "Edit This Page", "de": "Seite bearbeiten", @@ -38,7 +38,8 @@ "versions": { "gitbookConfigURL": "https://raw.githubusercontent.com/contao/docs/master/manual/book.json", "options": [ - { "value": "https://docs.contao.org/books/manual/4.2", "text": "Contao 4.2", "selected": true }, + { "value": "https://docs.contao.org/books/manual/4.3", "text": "Contao 4.3", "selected": true }, + { "value": "https://docs.contao.org/books/manual/4.2", "text": "Contao 4.2" }, { "value": "https://docs.contao.org/books/manual/4.0", "text": "Contao 4.0" }, { "value": "https://docs.contao.org/books/manual/3.5", "text": "Contao 3.5" }, { "value": "https://docs.contao.org/books/manual/3.4", "text": "Contao 3.4" }, @@ -50,7 +51,7 @@ ] }, "canonical-link": { - "baseURL": "https://docs.contao.org/books/manual/current/en/" + "baseURL": "https://docs.contao.org/books/manual/4.3/en/" }, "anchorjs": { "selector": "h1,h2,h3,*:not(.callout) > h4,h5" diff --git a/manual/de/README.md b/manual/de/README.md index 6db5a7b08..2b48c0e4b 100644 --- a/manual/de/README.md +++ b/manual/de/README.md @@ -1,4 +1,4 @@ -# Handbuch für Contao 4.2 +# Handbuch für Contao 4.3 Dies ist das offizielle Handbuch für Anwender und Entwickler. Die neuste Version ist unter [docs.contao.org](https://docs.contao.org/) erhältlich. diff --git a/manual/de/book.json b/manual/de/book.json index 7c8fa2043..7d8145805 100644 --- a/manual/de/book.json +++ b/manual/de/book.json @@ -1,8 +1,8 @@ { - "title": "Handbuch für Contao 4.2", + "title": "Handbuch für Contao 4.3", "pluginsConfig": { "canonical-link": { - "baseURL": "https://docs.contao.org/books/manual/current/de" + "baseURL": "https://docs.contao.org/books/manual/4.3/de" } } } diff --git a/manual/en/README.md b/manual/en/README.md index eddb6b9be..921bde875 100644 --- a/manual/en/README.md +++ b/manual/en/README.md @@ -1,4 +1,4 @@ -# Manual for Contao 4.2 +# Manual for Contao 4.3 This is the official manual for users and developers. You can always find the latest version on [docs.contao.org](https://docs.contao.org/). diff --git a/manual/fr/README.md b/manual/fr/README.md index 95a289d2b..c78d378b1 100644 --- a/manual/fr/README.md +++ b/manual/fr/README.md @@ -1,4 +1,4 @@ -# Manuel pour Contao 4.2 +# Manuel pour Contao 4.3 Ceci est le manuel officiel pour les utilisateurs et les développeurs. Vous pouvez toujours trouver la dernière version sur diff --git a/manual/fr/book.json b/manual/fr/book.json index ae750a7a3..18aa1dd76 100644 --- a/manual/fr/book.json +++ b/manual/fr/book.json @@ -1,8 +1,8 @@ { - "title": "Manuel pour Contao 4.2", + "title": "Manuel pour Contao 4.3", "pluginsConfig": { "canonical-link": { - "baseURL": "https://docs.contao.org/books/manual/current/fr" + "baseURL": "https://docs.contao.org/books/manual/4.3/fr" } } }