-
Notifications
You must be signed in to change notification settings - Fork 20
/
vocs.config.tsx
197 lines (195 loc) · 4.8 KB
/
vocs.config.tsx
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
import { defineConfig } from "vocs";
// console.log('Loading Vocs config...')
export default defineConfig({
head: () => {
// console.log(`Generating head content... ${new Date().toISOString()}`)
return (
<>
<script
src="https://plausible.io/js/script.outbound-links.js"
data-domain="docs.xmtp.org"
defer
/>
</>
);
},
title: "Build with XMTP",
description:
"XMTP is a secure and decentralized protocol for building communication platforms for the next phase of the internet.",
logoUrl: {
light: "/logomark-light-purple.png",
dark: "/logomark-dark-purple.png",
},
iconUrl: "/x-mark-blue.png",
topNav: [
{ text: "XMTP.org", link: "https://xmtp.org/" },
],
ogImageUrl: {
"/": "/xmtp-og-card.jpeg",
"/docs":
"https://vocs.dev/api/og?logo=%logo&title=%title&description=%description",
},
socials: [
{
icon: 'discord',
link: 'https://discord.gg/N3smtr5upp',
},
{
icon: "github",
link: "https://github.com/xmtp",
},
],
sidebar: [
{
text: "📋 Documentation status",
link: "/doc-status",
items: [],
},
{
text: "🚀 Upgrade to XMTP V3",
link: "/upgrade-to-v3",
items: [],
},
{
text: "Intro",
collapsed: false,
items: [
{
text: "What is XMTP?",
link: "/intro/intro",
},
{
text: "FAQ",
link: "/intro/faq",
},
],
},
{
text: "Build chat inboxes",
collapsed: false,
items: [
{
text: "Get started",
link: "/inboxes/get-started",
},
{
text: "Build a chat inbox",
link: "/inboxes/build-inbox",
},
{
text: "Manage inboxes",
link: "/inboxes/manage-inboxes",
},
{
text: "Support spam-free inboxes",
collapsed: true,
items: [
{
text: "How spam-free inboxes work",
link: "/inboxes/user-consent/user-consent",
},
{
text: "Support spam-free inboxes",
link: "/inboxes/user-consent/support-user-consent",
},
],
},
{
text: "Support content types",
collapsed: true,
items: [
{
text: "Understand content types",
link: "/inboxes/content-types/content-types",
},
{
text: "Attachments",
link: "/inboxes/content-types/attachments",
},
{
text: "Reactions",
link: "/inboxes/content-types/reactions",
},
{
text: "Replies",
link: "/inboxes/content-types/replies",
},
{
text: "Read receipts",
link: "/inboxes/content-types/read-receipts",
},
{
text: "Onchain transaction references",
link: "/inboxes/content-types/transaction-refs",
},
{
text: "Custom content",
link: "/inboxes/content-types/custom",
},
],
},
{
text: "Support push notifications",
collapsed: true,
items: [
{
text: "Support push notifications",
link: "/inboxes/push-notifs/push-notifs",
},
{
text: "Run a push notifications server",
link: "/inboxes/push-notifs/pn-server",
},
{
text: "Try Android push notifications",
link: "/inboxes/push-notifs/android-pn",
},
{
text: "Try iOS push notifications",
link: "/inboxes/push-notifs/ios-pn",
},
],
},
{
text: "Set group permissions and metadata",
link: "/inboxes/handle-groups",
},
{
text: "Use signatures",
link: "/inboxes/use-signatures",
},
{
text: "Debug your app",
link: "/inboxes/debug-your-app",
},
{
text: "SDK references",
link: "/inboxes/references",
},
],
},
{
text: "Build agents with MessageKit ↗",
link: "https://messagekit.ephemerahq.com/",
items: [], // Add this line
},
{
text: "Protocol concepts",
collapsed: false,
items: [
{
text: "XMTP MLS protocol spec",
link: "/protocol/specs",
},
{
text: "Wallet signatures",
link: "/protocol/signatures",
},
{
text: "XIPs",
link: "/protocol/xips",
},
],
},
],
});