forked from cozy/cozy-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocpad.coffee
31 lines (25 loc) · 875 Bytes
/
docpad.coffee
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
# DocPad Configuration File
# http://docpad.org/docs/config
# Define the DocPad Configuration
docpadConfig = {
outPath: 'public'
templateData:
site:
url: "http://cozy.io/"
title: ""
description: ""
keywords: ""
collections:
hostPages: ->
@getCollection('html').findAllLive({category: 'host', isCategoryMaster:$exists:false})
usePages: ->
@getCollection('html').findAllLive({category: 'use', isCategoryMaster:$exists:false})
hackPages: ->
@getCollection('html').findAllLive({category: 'hack', isCategoryMaster:$exists:false})
homePages: ->
@getCollection('html').findAllLive({isCategoryMaster:$exists:true})
enabledPlugins:
"live-reload": true
}
# Export the DocPad Configuration
module.exports = docpadConfig