-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathvocs.config.tsx
147 lines (144 loc) · 3.46 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
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.js"
data-domain="docs.xmtp.org"
defer
/>
</>
);
},
title: "Build with XMTP",
description:
"XMTP is an open, secure, and resilient messaging protocol—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: "Support 💬",
link: "https://converse.xyz/group-invite/a0XKzl9oVpWNXcuYDZLMf",
},
{ 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 preview ⚡️",
link: "", // Add this line,
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: "Set group permissions and metadata",
link: "/inboxes/handle-groups",
},
{
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 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: "Display Open Frames",
link: "/inboxes/frames",
},
],
},
{
text: "Build chat bots 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",
},
],
},
],
});