diff options
author | Samy Pessé <samypesse@gmail.com> | 2017-01-06 17:15:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-06 17:15:30 +0100 |
commit | 7029c01806781f5ed74f175545ea154aa17cc6fd (patch) | |
tree | d87189690b5acc78acbd3d9688edc37b251541f3 /packages/gitbook/src/parse/validateConfig.js | |
parent | 11893255d1167382b16871d2ca831c90a40af57d (diff) | |
download | gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.zip gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.gz gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.bz2 |
Switch to markup-it for parsing (#1659)
* Start new parsers in gitbook itself
* Update markup-it
* Fix eslint errors
* Adapt basic parsing for summary
* Start tests for summaryFromDocument
* Continue
* Add parsing of glossary
* Add back languages parsing
* Adapt most tests for parsing
* Adapt all tests 🙌
* Adapt travis tests
* Bootstrap lerna before running tests
* Fix lowercase in require (linux)
* Fix command gitbook init
* Fix generation of ready by init command
* Fix generation of summary
* Fix watch after serve
* Add trademark to sidebar
* Add back favicon to default theme
* Open trademark in new tab
Diffstat (limited to 'packages/gitbook/src/parse/validateConfig.js')
-rw-r--r-- | packages/gitbook/src/parse/validateConfig.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/gitbook/src/parse/validateConfig.js b/packages/gitbook/src/parse/validateConfig.js index e766fae..55196f9 100644 --- a/packages/gitbook/src/parse/validateConfig.js +++ b/packages/gitbook/src/parse/validateConfig.js @@ -6,12 +6,12 @@ const error = require('../utils/error'); const mergeDefaults = require('../utils/mergeDefaults'); /** - Validate a book.json content - And return a mix with the default value - - @param {Object} bookJson - @return {Object} -*/ + * Validate a book.json content + * And return a mix with the default value + * + * @param {Object} bookJson + * @return {Object} + */ function validateConfig(bookJson) { const v = new jsonschema.Validator(); const result = v.validate(bookJson, schema, { |