From 4499ccc501950f472ade2175e742d707752ef39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Wed, 2 Mar 2016 10:01:32 +0100 Subject: [PATCH] Explicitly use current version as gitbook version to build --- book.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/book.js b/book.js index 4c8c6197b..a10ff2c99 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 }