gh-pages-generator path

master
Evgeny Poberezkin 2016-04-16 21:58:55 +01:00
parent 601d0e6a48
commit c40fb0a484
2 changed files with 4 additions and 3 deletions

View File

@ -140,7 +140,7 @@ While it can be more challenging to define keywords with "inline" functions, it
- the best performance
- the precise control over validation process
- access to the parent data and the path to the currently validated data
- access to ajv utilities via `it.util`
- access to Ajv utilities via `it.util`
Example `even` keyword:
@ -331,7 +331,7 @@ ajv.addKeyword('range', {
statements: true,
errors: true // keyword should create custom errors when validation fails
// errors: 'full' // created errors should have dataPath already set
// errors: false // keyword never creates errors, ajv will add a default error
// errors: false // keyword never creates errors, Ajv will add a default error
});
```

View File

@ -9,8 +9,9 @@ if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" && $TRAV
mkdir -p ../gh-pages/_source
cp *.md ../gh-pages/_source
cp LICENSE ../gh-pages/_source
currentDir=$(pwd)
cd ../gh-pages
./node_modules/.bin/gh-pages-generator
$currentDir/node_modules/.bin/gh-pages-generator
git config user.email "$GIT_USER_EMAIL"
git config user.name "$GIT_USER_NAME"
git add .