forked from h5bp/html5boilerplate.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs-config.js
38 lines (28 loc) · 1.06 KB
/
docs-config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// ## defaults configuration file for documentation generation
// from the root repo
//
// h5bp-docs --config docs-config.js
//
// this file may be placed elsewhere, --config path is relative to the command line pwd.
exports = module.exports = {
// --server, when set to true, will start a connect static server once generation is done
server: false,
// server port used if --server flag provided
port: 8080,
// src folder, this is where the markdown files are
src: "./docs/wiki-upstream",
// destination folder, place where the generated files will land
dest: "./src/docs",
// a single layout files with a {{ content }} placeholder.
layout: "./docs/layout.html",
// assets folder
// - putting a false value will prevent the assets copy.
// - ommiting assets assets copy the public folder in h5bp-docs package.
assets: false,
// allowed extensions, all other files are ignored
ext: ['md', 'markdown', 'mkd'],
// baseurl, only used with --server flag. ex: docs
baseurl: '/docs',
// Enable verbose output (defaults true)
verbose: true
};