diff --git a/src/pages/_config.yml b/src/pages/_config.yml index 2385aa22e18..afbc2de402f 100644 --- a/src/pages/_config.yml +++ b/src/pages/_config.yml @@ -3,5 +3,7 @@ lsi: false pygments: true github: https://github.com/SpringSource/spring-boot markdown: redcarpet +redcarpet: + extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] project: version: 0.5.0.BUILD-SNAPSHOT diff --git a/src/pages/build.sh b/src/pages/build.sh index 182d9e36263..c96da57c0cd 100755 --- a/src/pages/build.sh +++ b/src/pages/build.sh @@ -1,5 +1,7 @@ #!/bin/bash -e +echo $* | grep -q "\-x" && set -x + if [ -e "$HOME/.rvm/scripts/rvm" ]; then source "$HOME/.rvm/scripts/rvm" rvm 1.9.3 @@ -44,13 +46,13 @@ function fail { echo is missing ruby or gem dependencies. echo Please ensure that you have installed ruby 1.9.3 echo and execute - echo " $" (cd $PAGES_HOME; bundle) + echo " $ (cd $PAGES_HOME; bundle)" echo before trying again } trap fail EXIT -if ! [ -z $PAGES_HOME/Gemfile.lock ]; then +if ! [ -e $PAGES_HOME/Gemfile.lock ]; then exit 1 fi