Commit 83d27d1
committed
docs(starlight): migrate social config from record to array shape
Starlight 0.33 (in the 0.30 → 0.39 bump landing here) changed the
`social` integration option from a `Record<KnownPlatform, url>` map
to a `[{icon, label, href}]` array. The old shape now fails the
config schema with "Starlight v0.33.0 changed the `social` configuration
syntax. Please specify an array of link items instead of an object."
Migrating both the GitHub and Discord entries preserves the topbar
icon row exactly. The pre-fix comment block at the call site already
anticipated this exact migration; the surrounding rationale was
moved into the new comment.1 parent c880957 commit 83d27d1
1 file changed
Lines changed: 17 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
0 commit comments