You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.mdx
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,16 @@ order: 3
6
6
7
7
# Configuration
8
8
9
-
All site configuration lives in a single `chronicle.yaml` file in your content directory.
9
+
All site configuration lives in a single `chronicle.yaml` file in your project root. The config is validated using Zod — invalid fields will produce clear error messages at startup.
10
10
11
11
## Full Example
12
12
13
13
```yaml
14
14
title: My Project Docs
15
15
description: Documentation for My Project
16
16
url: https://docs.example.com
17
+
content: docs
18
+
preset: vercel
17
19
18
20
logo:
19
21
light: ./logo-light.png
@@ -80,6 +82,22 @@ Optional site URL. Used for SEO metadata, sitemap, and canonical URLs.
80
82
url: https://docs.example.com
81
83
```
82
84
85
+
### content
86
+
87
+
Optional content directory path. Can be overridden by the `--content` CLI flag.
88
+
89
+
```yaml
90
+
content: docs
91
+
```
92
+
93
+
### preset
94
+
95
+
Optional deploy preset. Can be overridden by the `--preset` CLI flag.
96
+
97
+
```yaml
98
+
preset: vercel # vercel, cloudflare, or node-server
0 commit comments