tangled
alpha
login
or
join now
apoena.dev
/
remanso-cli
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
docs: lint documentation
Julien Calixte
2 weeks ago
8beda9e8
d27d3429
+42
-42
1 changed file
expand all
collapse all
unified
split
docs
docs
pages
config.mdx
+42
-42
docs/docs/pages/config.mdx
···
1
1
# Configuration Reference
2
2
3
3
-
## `sequoia.json`
3
3
+
## `remanson.json`
4
4
5
5
-
| Field | Type | Required | Default | Description |
6
6
-
|-------|------|----------|---------|-------------|
7
7
-
| `siteUrl` | `string` | Yes | - | Base URL of your website |
8
8
-
| `contentDir` | `string` | Yes | - | Directory containing blog post files |
9
9
-
| `publicationUri` | `string` | Yes | - | AT-URI of your publication record |
10
10
-
| `imagesDir` | `string` | No | - | Directory containing cover images |
11
11
-
| `publicDir` | `string` | No | `"./public"` | Static folder for `.well-known` files |
12
12
-
| `outputDir` | `string` | No | - | Built output directory for inject command |
13
13
-
| `pathPrefix` | `string` | No | `"/posts"` | URL path prefix for posts |
14
14
-
| `pdsUrl` | `string` | No | `"https://bsky.social"` | PDS server URL, generated automatically |
15
15
-
| `identity` | `string` | No | - | Which stored identity to use |
16
16
-
| `frontmatter` | `object` | No | - | Custom frontmatter field mappings |
17
17
-
| `frontmatter.slugField` | `string` | No | - | Frontmatter field to use for slug (defaults to filepath) |
18
18
-
| `ignore` | `string[]` | No | - | Glob patterns for files to ignore |
19
19
-
| `removeIndexFromSlug` | `boolean` | No | `false` | Remove `/index` or `/_index` suffix from slugs |
20
20
-
| `stripDatePrefix` | `boolean` | No | `false` | Remove `YYYY-MM-DD-` date prefixes from slugs (Jekyll-style) |
21
21
-
| `pathTemplate` | `string` | No | - | URL path template with tokens (overrides `pathPrefix` + slug) |
22
22
-
| `bluesky` | `object` | No | - | Bluesky posting configuration |
23
23
-
| `bluesky.enabled` | `boolean` | No | `false` | Post to Bluesky when publishing documents (also enables [comments](/comments)) |
24
24
-
| `bluesky.maxAgeDays` | `number` | No | `30` | Only post documents published within this many days |
25
25
-
| `ui` | `object` | No | - | UI components configuration |
26
26
-
| `ui.components` | `string` | No | `"src/components"` | Directory where UI components are installed |
5
5
+
| Field | Type | Required | Default | Description |
6
6
+
| ----------------------- | ---------- | -------- | ----------------------- | ------------------------------------------------------------------------------ |
7
7
+
| `siteUrl` | `string` | Yes | - | Base URL of your website |
8
8
+
| `contentDir` | `string` | Yes | - | Directory containing blog post files |
9
9
+
| `publicationUri` | `string` | Yes | - | AT-URI of your publication record |
10
10
+
| `imagesDir` | `string` | No | - | Directory containing cover images |
11
11
+
| `publicDir` | `string` | No | `"./public"` | Static folder for `.well-known` files |
12
12
+
| `outputDir` | `string` | No | - | Built output directory for inject command |
13
13
+
| `pathPrefix` | `string` | No | `"/posts"` | URL path prefix for posts |
14
14
+
| `pdsUrl` | `string` | No | `"https://bsky.social"` | PDS server URL, generated automatically |
15
15
+
| `identity` | `string` | No | - | Which stored identity to use |
16
16
+
| `frontmatter` | `object` | No | - | Custom frontmatter field mappings |
17
17
+
| `frontmatter.slugField` | `string` | No | - | Frontmatter field to use for slug (defaults to filepath) |
18
18
+
| `ignore` | `string[]` | No | - | Glob patterns for files to ignore |
19
19
+
| `removeIndexFromSlug` | `boolean` | No | `false` | Remove `/index` or `/_index` suffix from slugs |
20
20
+
| `stripDatePrefix` | `boolean` | No | `false` | Remove `YYYY-MM-DD-` date prefixes from slugs (Jekyll-style) |
21
21
+
| `pathTemplate` | `string` | No | - | URL path template with tokens (overrides `pathPrefix` + slug) |
22
22
+
| `bluesky` | `object` | No | - | Bluesky posting configuration |
23
23
+
| `bluesky.enabled` | `boolean` | No | `false` | Post to Bluesky when publishing documents (also enables [comments](/comments)) |
24
24
+
| `bluesky.maxAgeDays` | `number` | No | `30` | Only post documents published within this many days |
25
25
+
| `ui` | `object` | No | - | UI components configuration |
26
26
+
| `ui.components` | `string` | No | `"src/components"` | Directory where UI components are installed |
27
27
28
28
### Example
29
29
···
54
54
55
55
## Post Frontmatter
56
56
57
57
-
| Field | Type | Required | Default Mapping | Description |
58
58
-
|-------|------|----------|-----------------|-------------|
59
59
-
| `title` | `string` | Yes | `"title"` | Post title |
60
60
-
| `description` | `string` | No | `"description"` | Post description/summary |
61
61
-
| `publishDate` | `string` | Yes | `"publishDate"`, `"pubDate"`, `"date"`, `"createdAt"`, `"created_at"` | Publication date |
62
62
-
| `coverImage` | `string` | No | `"ogImage"` | Cover image filename |
63
63
-
| `tags` | `string[]` | No | `"tags"` | Post tags/categories |
64
64
-
| `draft` | `boolean` | No | `"draft"` | If `true`, post is skipped during publish |
57
57
+
| Field | Type | Required | Default Mapping | Description |
58
58
+
| ------------- | ---------- | -------- | --------------------------------------------------------------------- | ----------------------------------------- |
59
59
+
| `title` | `string` | Yes | `"title"` | Post title |
60
60
+
| `description` | `string` | No | `"description"` | Post description/summary |
61
61
+
| `publishDate` | `string` | Yes | `"publishDate"`, `"pubDate"`, `"date"`, `"createdAt"`, `"created_at"` | Publication date |
62
62
+
| `coverImage` | `string` | No | `"ogImage"` | Cover image filename |
63
63
+
| `tags` | `string[]` | No | `"tags"` | Post tags/categories |
64
64
+
| `draft` | `boolean` | No | `"draft"` | If `true`, post is skipped during publish |
65
65
66
66
### Example
67
67
···
130
130
131
131
**Available tokens:**
132
132
133
133
-
| Token | Description | Example |
134
134
-
|-------|-------------|---------|
135
135
-
| `{slug}` | The generated slug (from filepath or `slugField`) | `my-post` |
136
136
-
| `{year}` | Four-digit publish year (local time) | `2024` |
137
137
-
| `{yearUTC}` | Four-digit publish year (UTC) | `2024` |
138
138
-
| `{month}` | Zero-padded publish month (local time) | `01` |
139
139
-
| `{monthUTC}` | Zero-padded publish month (UTC) | `01` |
140
140
-
| `{day}` | Zero-padded publish day (local time) | `15` |
141
141
-
| `{dayUTC}` | Zero-padded publish day (UTC) | `15` |
142
142
-
| `{title}` | Slugified post title | `my-first-post` |
143
143
-
| `{field}` | Any frontmatter field value (string fields only) | - |
133
133
+
| Token | Description | Example |
134
134
+
| ------------ | ------------------------------------------------- | --------------- |
135
135
+
| `{slug}` | The generated slug (from filepath or `slugField`) | `my-post` |
136
136
+
| `{year}` | Four-digit publish year (local time) | `2024` |
137
137
+
| `{yearUTC}` | Four-digit publish year (UTC) | `2024` |
138
138
+
| `{month}` | Zero-padded publish month (local time) | `01` |
139
139
+
| `{monthUTC}` | Zero-padded publish month (UTC) | `01` |
140
140
+
| `{day}` | Zero-padded publish day (local time) | `15` |
141
141
+
| `{dayUTC}` | Zero-padded publish day (UTC) | `15` |
142
142
+
| `{title}` | Slugified post title | `my-first-post` |
143
143
+
| `{field}` | Any frontmatter field value (string fields only) | - |
144
144
145
145
When `pathTemplate` is set, it overrides `pathPrefix`. If `pathTemplate` is not set, the default `pathPrefix`/slug behavior is used.
146
146