forked from couchbaselabs/docs-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nanoc.yaml
253 lines (197 loc) · 7.41 KB
/
nanoc.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
# A list of file extensions that nanoc will consider to be textual rather than
# binary. If an item with an extension not in this list is found, the file
# will be considered as binary.
text_extensions: [ 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ]
# The path to the directory where all generated files will be written to. This
# can be an absolute path starting with a slash, but it can also be path
# relative to the site directory.
output_dir: output
# A list of index filenames, i.e. names of files that will be served by a web
# server when a directory is requested. Usually, index files are named
# "index.html", but depending on the web server, this may be something else,
# such as "default.htm". This list is used by nanoc to generate pretty URLs.
index_filenames: [ 'index.html' ]
# Whether or not to generate a diff of the compiled content when compiling a
# site. The diff will contain the differences between the compiled content
# before and after the last site compilation.
enable_output_diff: false
prune:
# Whether to automatically remove files not managed by nanoc from the output
# directory. For safety reasons, this is turned off by default.
auto_prune: false
# Which files and directories you want to exclude from pruning. If you version
# your output directory, you should probably exclude VCS directories such as
# .git, .svn etc.
exclude: [ '.git', '.hg', '.svn', 'CVS' ]
# The data sources where nanoc loads its data from. This is an array of
# hashes; each array element represents a single data source. By default,
# there is only a single data source that reads data from the "content/" and
# "layout/" directories in the site directory.
data_sources:
-
# The type is the identifier of the data source. By default, this will be
# `filesystem_unified`.
type: filesystem_unified
encoding: utf-8
# The path where items should be mounted (comparable to mount points in
# Unix-like systems). This is "/" by default, meaning that items will have
# "/" prefixed to their identifiers. If the items root were "/en/"
# instead, an item at content/about.html would have an identifier of
# "/en/about/" instead of just "/about/".
items_root: /
# The path where layouts should be mounted. The layouts root behaves the
# same as the items root, but applies to layouts rather than items.
layouts_root: /
# Whether to allow periods in identifiers. When turned off, everything
# past the first period is considered to be the extension, and when
# turned on, only the characters past the last period are considered to
# be the extension. For example, a file named "content/about.html.erb"
# will have the identifier "/about/" when turned off, but when turned on
# it will become "/about.html/" instead.
allow_periods_in_identifiers: false
# Data source for static content
-
type: static
items_root: /prebuilt/
# Configuration for the "watch" command, which watches a site for changes and
# recompiles if necessary.
watcher:
# A list of directories to watch for changes. When editing this, make sure
# that the "output/" and "tmp/" directories are _not_ included in this list,
# because recompiling the site will cause these directories to change, which
# will cause the site to be recompiled, which will cause these directories
# to change, which will cause the site to be recompiled again, and so on.
dirs_to_watch: [ 'content', 'layouts', 'lib' ]
# A list of single files to watch for changes. As mentioned above, don’t put
# any files from the "output/" or "tmp/" directories in here.
files_to_watch: [ 'nanoc.yaml', 'Rules' ]
# When to send notifications (using Growl or notify-send).
notify_on_compilation_success: true
notify_on_compilation_failure: true
versions:
couchbase-devguide:
name: "Developer"
versions:
- 2.5
- 2.2
- 2.1
- 2.0
couchbase-manual:
name: "Server"
versions:
- 2.5
- 2.2
- 2.1
- 2.0
- 1.8
couchbase-sdk-c:
name: "C SDK"
versions:
- 2.3
- 2.2
- 2.1
couchbase-sdk-java:
name: "Java SDK"
versions:
- 1.4
- 1.3
- 1.2
- 1.1
couchbase-sdk-net:
name: ".Net SDK"
versions:
- 1.3
- 1.2
- 1.1
- 1.0
couchbase-sdk-node:
name: "Node.js SDK"
versions:
- 1.2
- 1.1
- 1.0
couchbase-sdk-php:
name: "PHP SDK"
versions:
- 1.2
- 1.1
- 1.0
couchbase-sdk-ruby:
name: "Ruby SDK"
versions:
- 1.3
- 1.2
- 1.1
couchbase-sdk-python:
name: "Python SDK"
versions:
- 1.2
- 1.1
- 1.0
navbar:
- label: Couchbase Server
subnav:
- label: Couchbase Server 2.5
href: /couchbase-manual-2.5/
- label: "-- Install and Upgrade"
href: /couchbase-manual-2.5/cb-install/
- label: "-- Administration Guide"
href: /couchbase-manual-2.5/cb-admin/
- label: "-- CLI Reference"
href: /couchbase-manual-2.5/cb-cli/
- label: "-- REST API Reference"
href: /couchbase-manual-2.5/cb-rest-api/
- label: "-- Deprecated items"
href: /couchbase-manual-2.5/deprecated/
- label: Couchbase 2.2
href: /couchbase-manual-2.2/
- label: Couchbase 2.1
href: /couchbase-manual-2.1/
- label: Couchbase 2.0
href: /couchbase-manual-2.0
- label: Couchbase 1.8
href: /couchbase-manual-1.8/
- label: Moxi Guide
href: /moxi-guide/
- label: Couchbase Release Notes
href: /couchbase-manual-2.5/cb-release-notes/
- label: Connectors
subnav:
- label: Hadoop Connector
href: /hadoop-connector-1.2/
- label: Elasticsearch Plug-in
href: /couchbase-elastic-search/
- label: Developer
subnav:
- label: Couchbase Developer Guide
href: /couchbase-devguide-2.5/
- label: SDKs
subnav:
- label: C Developer Guide
href: /couchbase-sdk-c-2.3/
- label: C API Reference
href: http://docs.couchbase.com/sdk-api/couchbase-c-client-2.4.8/
- label: Java Developer Guide
href: /couchbase-sdk-java-1.4/
- label: Java API Reference
href: http://docs.couchbase.com/sdk-api/couchbase-java-client-1.4.9/
- label: .NET Developer Guide
href: /couchbase-sdk-net-1.3/
- label: Node.js Developer Guide
href: /couchbase-sdk-node-1.2/
- label: Node.js API Reference
href: http://www.couchbase.com/autodocs/couchbase-node-client-latest/index.html
- label: PHP Developer Guide
href: /couchbase-sdk-php-1.2/
- label: PHP API Reference
href: http://www.couchbase.com/autodocs/couchbase-php-client-latest/index.html
- label: Python Developer Guide
href: /couchbase-sdk-python-1.2/
- label: Python API Reference
href: http://www.couchbase.com/autodocs/couchbase-python-client-latest/index.html
- label: Ruby Developer Guide
href: /couchbase-sdk-ruby-1.3/
- label: Ruby API Reference
href: http://docs.couchbase.com/sdk-api/couchbase-ruby-client-1.3.9/
- label: Archive
href: /archive-index/