diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-03-02 10:01:32 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-03-02 10:01:32 +0100 |
commit | 4499ccc501950f472ade2175e742d707752ef39d (patch) | |
tree | 768f232493d06f178a3ffd8185e1fe7ad1a04fc6 /book.js | |
parent | abbca568d12cf02781f159e19d21379ddc839045 (diff) | |
download | gitbook-4499ccc501950f472ade2175e742d707752ef39d.zip gitbook-4499ccc501950f472ade2175e742d707752ef39d.tar.gz gitbook-4499ccc501950f472ade2175e742d707752ef39d.tar.bz2 |
Explicitly use current version as gitbook version to build
Diffstat (limited to 'book.js')
-rw-r--r-- | book.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,11 +1,17 @@ var pkg = require('./package.json'); module.exports = { + // Documentation for GitBook is stored under "docs" root: './docs', title: 'GitBook Documentation', + // Enforce use of GitBook v3 + gitbook: pkg.version, + + // Use the "official" theme plugins: ['theme-official'], theme: 'official', + variables: { version: pkg.version } |