summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
}