This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
/
nanoc.yaml
302 lines (285 loc) · 12.3 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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
# The syntax to use for patterns in the Rules file. Can be either `"glob"`
# (default) or `"legacy"`. The former will enable glob patterns, which behave
# like Ruby’s File.fnmatch. The latter will enable Nanoc 3.x-style patterns.
string_pattern_type: glob
# 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: [ 'adoc', 'asciidoc', 'atom', 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss', 'slim', '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: true
prune:
# Whether to automatically remove files not managed by Nanoc from the output
# directory.
auto_prune: true
# 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', 'CNAME' ]
# 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. filesystem is an alias in nanoc 4 for filesystem_unified
type: filesystem
# 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: /
# The encoding to use for input files. If your input files are not in
# UTF-8 (which they should be!), change this.
encoding: utf-8
# The kind of identifier to use for items and layouts. The default is
# “full”, meaning that identifiers include file extensions. This can also
# be “legacy”, primarily used by older Nanoc sites.
identifier_type: full
-
type: filesystem
items_root: /static
content_dir: 'static'
layouts_dir: null
# Configuration for the “check” command, which run unit tests on the site.
checks:
# Configuration for the “internal_links” checker, which checks whether all
# internal links are valid.
internal_links:
# A list of patterns, specified as regular expressions, to exclude from the check.
# If an internal link matches this pattern, the validity check will be skipped.
# E.g.:
# exclude: ['^/server_status']
exclude: []
# Configuration for the “external_links” checker, which checks whether all
# external links are valid.
external_links:
# A list of patterns, specified as regular expressions, to exclude from the check.
# If an external link matches this pattern, the validity check will be skipped.
# E.g.:
# exclude: ['^http://example.com$']
exclude: []
# A list of file patterns, specified as regular expressions, to exclude from the check.
# If a file matches this pattern, the links from this file will not be checked.
# E.g.:
# exclude_files: ['blog/page']
exclude_files: []
redirects:
/dstu2/allergy-intolerance:
url: /millennium/dstu2/general-clinical/allergy-intolerance
/dstu2/appointment:
url: /millennium/dstu2/scheduling/appointment
/dstu2/authorization:
url: /authorization
/dstu2/authorization-specification:
url: /authorization/authorization-specification
/dstu2/tls-guidance:
url: /authorization/tls-guidance
/dstu2/binary:
url: /millennium/dstu2/infrastructure/binary
/dstu2/care-plan:
url: /millennium/dstu2/care-provision/care-plan
/dstu2/condition:
url: /millennium/dstu2/general-clinical/condition
/dstu2/conformance:
url: /millennium/dstu2/conformance/conformance
/dstu2/contract:
url: /millennium/dstu2/entities/contract
/dstu2/device:
url: /millennium/dstu2/devices/device
/dstu2/diagnostic-report:
url: /millennium/dstu2/diagnostic/diagnostic-report
/dstu2/document-reference:
url: /millennium/dstu2/infrastructure/document-reference
/dstu2/encounter:
url: /millennium/dstu2/encounters/encounter
/dstu2/goal:
url: /millennium/dstu2/care-provision/goal
/dstu2/immunization:
url: /millennium/dstu2/medications/immunization
/dstu2/medication-order:
url: /millennium/dstu2/medications/medication-order
/dstu2/medication-statement:
url: /millennium/dstu2/medications/medication-statement
/dstu2/observation:
url: /millennium/dstu2/diagnostic/observation
/dstu2/openid-connect:
url: /authorization/openid-connect
/dstu2/operation-definition:
url: /millennium/dstu2/conformance/operation-definition
/dstu2/patient:
url: /millennium/dstu2/individuals/patient
/dstu2/person:
url: /millennium/dstu2/entities/person
/dstu2/procedure:
url: /millennium/dstu2/general-clinical/procedure
/dstu2/related-person:
url: /millennium/dstu2/individuals/related-person
/dstu2:
url: /millennium/dstu2/
/faq:
url: /millennium/faq/
/may2015:
url: /millennium/dstu2/
deprecated: true
/may2015/authorization:
url: /authorization
deprecated: true
/may2015/conformance:
url: /millennium/dstu2/conformance/conformance
deprecated: true
/may2015/allergy-intolerance:
url: /millennium/dstu2/general-clinical/allergy-intolerance
deprecated: true
/may2015/condition:
url: /millennium/dstu2/general-clinical/condition
deprecated: true
/may2015/diagnostic-report:
url: /millennium/dstu2/diagnostic/diagnostic-report
deprecated: true
/may2015/document-reference:
url: /millennium/dstu2/infrastructure/document-reference
deprecated: true
/may2015/encounter:
url: /millennium/dstu2/encounters/encounter
deprecated: true
/may2015/immunization:
url: /millennium/dstu2/medications/immunization
deprecated: true
/may2015/medication-prescription:
url: /millennium/dstu2/medications/medication-order
deprecated: true
/may2015/medication-statement:
url: /millennium/dstu2/medications/medication-statement
deprecated: true
/may2015/observation:
url: /millennium/dstu2/diagnostic/observation
deprecated: true
/may2015/patient:
url: /millennium/dstu2/individuals/patient
deprecated: true
/millennium/dstu2/operation-definition:
url: /millennium/dstu2/conformance/operation-definition
/millennium/dstu2/structure-definition:
url: /millennium/dstu2/conformance/structure-definition
/millennium/r4/capability-statement:
url: /millennium/r4/foundation/conformance/capability-statement
/millennium/r4/proprietary-codes:
url: /millennium/r4/proprietary-codes-and-systems
/millennium/r4/conformance:
url: /millennium/r4/foundation/conformance
/millennium/r4/conformance/capability-statement:
url: /millennium/r4/foundation/conformance/capability-statement
/millennium/r4/conformance/operation-definition:
url: /millennium/r4/foundation/conformance/operation-definition
/millennium/r4/conformance/structure-definition:
url: /millennium/r4/foundation/conformance/structure-definition
/millennium/r4/care-provision:
url: /millennium/r4/clinical/care-provision
/millennium/r4/care-provision/care-plan:
url: /millennium/r4/clinical/care-provision/care-plan
/millennium/r4/care-provision/care-team:
url: /millennium/r4/clinical/care-provision/care-team
/millennium/r4/care-provision/goal:
url: /millennium/r4/clinical/care-provision/goal
/millennium/r4/care-provision/nutrition-order:
url: /millennium/r4/clinical/care-provision/nutrition-order
/millennium/r4/care-provision/service-request:
url: /millennium/r4/clinical/care-provision/service-request
/millennium/r4/definitional-artifacts:
url: /millennium/r4/specialized/definitional-artifacts
/millennium/r4/definitional-artifacts/questionnaire:
url: /millennium/r4/specialized/definitional-artifacts/questionnaire
/millennium/r4/devices:
url: /millennium/r4/base/entities
/millennium/r4/devices/device:
url: /millennium/r4/base/entities/device
/millennium/r4/diagnostic:
url: /millennium/r4/clinical/diagnostics
/millennium/r4/diagnostic/observation:
url: /millennium/r4/clinical/diagnostics/observation
/millennium/r4/documents:
url: /millennium/r4/foundation/documents/
/millennium/r4/documents/document-reference:
url: /millennium/r4/foundation/documents/document-reference
/millennium/r4/encounters:
url: /millennium/r4/base/management
/millennium/r4/encounters/encounter:
url: /millennium/r4/base/management/encounter
/millennium/r4/entities:
url: /millennium/r4/base/entities
/millennium/r4/entities/location:
url: /millennium/r4/base/entities/location
/millennium/r4/entities/organization:
url: /millennium/r4/base/entities/organization
/millennium/r4/entities/consent:
url: /millennium/r4/foundation/security/consent
/millennium/r4/financial/account:
url: /millennium/r4/financial/general/account
/millennium/r4/financial/charge-item:
url: /millennium/r4/financial/general/charge-item
/millennium/r4/financial/coverage:
url: /millennium/r4/financial/support/coverage
/millennium/r4/financial/financial-transaction:
url: /millennium/r4/financial/general/financial-transaction
/millennium/r4/general-clinical:
url: /millennium/r4/clinical
/millennium/r4/general-clinical/allergy-intolerance:
url: /millennium/r4/clinical/summary/allergy-intolerance
/millennium/r4/general-clinical/condition:
url: /millennium/r4/clinical/summary/condition
/millennium/r4/general-clinical/procedure:
url: /millennium/r4/clinical/summary/procedure
/millennium/r4/individuals:
url: /millennium/r4/base/individuals
/millennium/r4/individuals/patient:
url: /millennium/r4/base/individuals/patient
/millennium/r4/individuals/person:
url: /millennium/r4/base/individuals/person
/millennium/r4/individuals/practitioner:
url: /millennium/r4/base/individuals/practitioner
/millennium/r4/individuals/related-person:
url: /millennium/r4/base/individuals/related-person
/millennium/r4/medications:
url: /millennium/r4/clinical/medications
/millennium/r4/medications/immunization:
url: /millennium/r4/clinical/medications/immunization
/millennium/r4/medications/medication-administration:
url: /millennium/r4/clinical/medications/medication-administration
/millennium/r4/medications/medication-request:
url: /millennium/r4/clinical/medications/medication-request
/millennium/r4/other:
url: /millennium/r4/foundation/other
/millennium/r4/other/binary:
url: /millennium/r4/foundation/other/binary
/millennium/r4/request-and-response:
url: /millennium/r4/clinical/request-and-response
/millennium/r4/request-and-response/communication:
url: /millennium/r4/clinical/request-and-response/communication
/millennium/r4/scheduling:
url: /millennium/r4/base/workflow
/millennium/r4/scheduling/appointment:
url: /millennium/r4/base/workflow/appointment
/millennium/r4/scheduling/schedule:
url: /millennium/r4/base/workflow/schedule
/millennium/r4/scheduling/slot:
url: /millennium/r4/base/workflow/slot
/millennium/r4/security:
url: /millennium/r4/foundation/security
/millennium/r4/security/provenance:
url: /millennium/r4/foundation/security/provenance