-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathvocs.config.tsx
216 lines (214 loc) · 5.37 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
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
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.chat", link: "https://xmtp.chat/" },
{ text: "Dev support", link: "https://github.com/xmtp" },
{ 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: "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: "XMTP Improvement Proposals",
link: "/intro/xips",
},
{
text: "FAQ",
link: "/intro/faq",
},
],
},
{
text: "Build chat inboxes",
collapsed: false,
items: [
{
text: "Build a chat inbox",
link: "/inboxes/build-inbox",
},
{
text: "Manage inboxes",
link: "/inboxes/manage-inboxes",
},
{
text: "Enable history sync",
link: "/inboxes/history-sync",
},
{
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: "Manage group permissions",
link: "/inboxes/group-permissions",
},
{
text: "Manage group metadata",
link: "/inboxes/group-metadata",
},
{
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 ↗",
link: "https://github.com/ephemeraHQ/xmtp-agents",
items: [], // Add this line
},
{
text: "Network FAQ",
link: "/network/network-faq",
items: [], // Add this line
},
{
text: "Protocol concepts",
collapsed: false,
items: [
{
text: "Encryption ↗",
link: "https://xmtp.org/encryption",
},
{
text: "Identity ↗",
link: "https://xmtp.org/identity",
},
{
text: "Consent ↗",
link: "https://xmtp.org/consent",
},
{
text: "Decentralization ↗",
link: "https://xmtp.org/decentralizing-xmtp",
},
{
text: "Wallet signatures",
link: "/protocol/signatures",
},
],
},
],
});