summaryrefslogtreecommitdiffstats
path: root/book.js
blob: ec649fb349dede586f8e0db69232dcef95040476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
var pkg = require('./package.json');

module.exports = {
    // Documentation for GitBook is stored under "docs"
    root: './docs',
    title: 'GitBook Toolchain Documentation',

    // Enforce use of GitBook v3
    gitbook: pkg.version,

    // Use the "official" theme
    plugins: ['theme-official', 'sitemap'],
    theme: 'official',

    variables: {
        version: pkg.version
    },

    pluginsConfig: {
        sitemap: {
            hostname: 'https://docs.gitbook.com'
        }
    }
};