Explicitly use current version as gitbook version to build

This commit is contained in:
Samy Pessé
2016-03-02 10:01:32 +01:00
parent abbca568d1
commit 4499ccc501
+6
View File
@@ -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
}