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

Commit

Permalink
Merge branch '3.5' into 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 19, 2017
2 parents 30b4715 + 0f21e66 commit d324d8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8.0
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ env:
sudo: required

before_install:
- sudo apt-get update
- sudo apt-get install oracle-java8-installer
- sudo update-java-alternatives -s java-8-oracle
- nvm install 8.0

install:
- sudo apt-get update
Expand Down
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ help:
@echo "Other commands:"
@echo " make build Builds HTML version of all books"
@echo " make build-pdf Builds PDFs for the user manual"
@echo " make validate Builds books and validates for invalid HTML output"
@echo " make install Installs latest GitBook and dependencies"
@echo ""

Expand Down Expand Up @@ -57,11 +56,4 @@ install-python:
@echo "--> You must have Python virtualenv"
@virtualenv python_modules

validate: build install-python
@python_modules/bin/pip install html5validator
@python_modules/bin/python2.7 python_modules/bin/html5validator --root manual/_book/ --ignore "gitbook/plugins" "element must have an" "A document must not include both" "Duplicate ID"
@python_modules/bin/python2.7 python_modules/bin/html5validator --root cookbook/_book/ --ignore "gitbook/plugins" "element must have an" "A document must not include both" "Duplicate ID"
@python_modules/bin/python2.7 python_modules/bin/html5validator --root api/_book/ --ignore "gitbook/plugins" "element must have an" "A document must not include both" "Duplicate ID"
@python_modules/bin/python2.7 python_modules/bin/html5validator --root extending-contao4/_book/ --ignore "gitbook/plugins" "element must have an" "A document must not include both" "Duplicate ID"

deploy: validate build-pdf
deploy: build build-pdf
4 changes: 2 additions & 2 deletions manual/book.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"piwik",
"toggle-chapters",
"image-captions",
"versions",
"versions-select",
"canonical-link"
],
"links": {
Expand Down Expand Up @@ -38,7 +38,7 @@
"versions": {
"gitbookConfigURL": "https://raw.githubusercontent.com/contao/docs/master/manual/book.json",
"options": [
{ "value": "https://docs.contao.org/books/manual/4.3", "text": "Contao 4.3", "selected": true },
{ "value": "https://docs.contao.org/books/manual/4.3", "text": "Contao 4.3" },
{ "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" },
Expand Down

0 comments on commit d324d8a

Please sign in to comment.