-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
50 lines (44 loc) · 1.2 KB
/
Copy pathconfig.example.yaml
File metadata and controls
50 lines (44 loc) · 1.2 KB
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
name: repo-db-example
# Where generated index files are written, relative to this config.
output: .
# Top-level index.json combining all types (default) and/or per-type files.
index:
combined: true
per_type: false
file: index.json
# Each content type has its own glob, schema, and projection.
types:
post:
content: posts/**/*.md
format: markdown-frontmatter
schema: structures/post.schema.json
projection: structures/post.index.json
key: slug
sort:
field: date
order: desc
index: posts.json
note:
content: notes/**/*.json
format: json
schema: structures/note.schema.json
projection: structures/note.index.json
key: id
# Validation rules, eslint-style: error | warn | off.
# Per-type overrides go under types.<name>.rules.
rules:
read-error: error
invalid-frontmatter: error
invalid-json: error
invalid-yaml: error
schema-violation: error
required-fields: error
type-mismatch: error
unknown-fields: warn
duplicate-key: error
empty-body: off
projection-missing: warn
# Emit llms.txt at the output root listing all items with metadata.
llms: false
# Regenerate README.md with a grouped list of items on each build.
update_readme: false