gh-pages-generator path
parent
601d0e6a48
commit
c40fb0a484
|
@ -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
|
||||
});
|
||||
```
|
||||
|
||||
|
|
|
@ -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 .
|
||||
|
|
Loading…
Reference in New Issue