summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-02 10:01:32 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-02 10:01:32 +0100
commit4499ccc501950f472ade2175e742d707752ef39d (patch)
tree768f232493d06f178a3ffd8185e1fe7ad1a04fc6
parentabbca568d12cf02781f159e19d21379ddc839045 (diff)
downloadgitbook-4499ccc501950f472ade2175e742d707752ef39d.zip
gitbook-4499ccc501950f472ade2175e742d707752ef39d.tar.gz
gitbook-4499ccc501950f472ade2175e742d707752ef39d.tar.bz2
Explicitly use current version as gitbook version to build
-rw-r--r--book.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/book.js b/book.js
index 4c8c619..a10ff2c 100644
--- a/book.js
+++ b/book.js
@@ -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
}