Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Deploy manual for Contao 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Dec 19, 2016
1 parent 25e0946 commit 8908987
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/* [email protected]:/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/* [email protected]:/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 [email protected]:/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 [email protected]:/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 [email protected]:/home/$SCP_USER/public/books/contao-manuel-$TRAVIS_BRANCH.pdf
Expand Down
9 changes: 5 additions & 4 deletions manual/book.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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" },
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion manual/de/README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions manual/de/book.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
2 changes: 1 addition & 1 deletion manual/en/README.md
Original file line number Diff line number Diff line change
@@ -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/).
Expand Down
2 changes: 1 addition & 1 deletion manual/fr/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions manual/fr/book.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit 8908987

Please sign in to comment.