/
pub-config.js
40 lines (30 loc) · 929 Bytes
/
pub-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
39
40
var opts = module.exports = {
pkgs: ['pub-theme-shower', 'pub-pkg-highlight', 'pub-pkg-seo'],
// set appUrl to publish fully qualified URLs in sitemap.xml
appUrl: "https://jldec.github.io/pub-sample-deck",
sources: [
{
path:'./markdown',
// descend directories looking for .md files
glob:'**/*.md',
// this is not required if fragments are separated with `---- #name ----`
// fragmentDelim:'md-headings',
// allow saving from the pub editor
writable:true
}
],
// images live in ./static/images
// extra.css lives in ./static/css
// bring in ../.gitignore for gh-pages branch
staticPaths: [ './static', '.gitignore', '.nojekyll' ],
// path to extra stylesheet
injectCss: '/css/extra.css',
outputs: [
{
path:'./docs',
relPaths:true
}
],
// ask search engines not to crawl this site (depends on pub-pkg-seo)
noRobots: 1
}