-
Notifications
You must be signed in to change notification settings - Fork 1
/
vocs.config.tsx
90 lines (89 loc) · 2.44 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
import * as React from "react";
import { defineConfig } from "vocs";
import sidebar from "./sidebar";
export default defineConfig({
title: "Soroban by Example",
description: "Learn soroban by exploring code samples",
titleTemplate: "%s - soroban-by-example",
/**@see https://vocs.dev/docs/api/config#element */
head: (
<>
<meta property="og:type" content="website" />
<meta property="og:title" content="Soroban by Examples · Learn soroban and build on Stellar by exploring code samples" />
<meta property="og:image" content="https://sorobanexamples.xyz/soroban-og.png" />
<meta property="og:url" content="https://sorobanexamples.xyz" />
<meta property="og:description" content="A carefully curated, lightweight, composable, and tweakable Soroban starter pack to get you writing for the Stellar blockchain faster than you can say Jack." />
</>
),
sidebar,
rootDir: ".",
iconUrl: { light: "/sbe-icon-light.svg", dark: "/sbe-icon-dark.svg" },
logoUrl: { light: "/sbe-icon-light.svg", dark: "/sbe-icon-dark.svg" },
socials: [
{
icon: "github",
link: "https://github.com/kohasummons/soroban-by-example",
},
{
icon: "discord",
link: "https://discord.gg/kohasummons",
},
{
icon: "x",
link: "https://x.com/stellar",
},
],
theme: {
accentColor: {
light: "#ff9318",
dark: "#ffc517",
},
},
topNav: [
{
text: "Playground",
items: [
{
text: "okashi",
link: "/introduction",
},
{
text: "Soroboy ✨",
link: "https://chatgpt.com/g/g-oW0Pjt0tu-soroboy",
}
],
},
{
text: "Code Snippet",
link: "https://github.com/kohasummons",
},
{
text: "Soroban",
items: [
{
text: `Learn Soroban`,
link: `/introduction`,
},
{
text: "Changelog",
link: "https://github.com/kohasummons/soroban-by-example",
},
{
text: "Contributing",
link: "https://github.com/kohasummons/soroban-by-example/blob/main/.github/CONTRIBUTING.md",
},
],
},
],
search: {
boostDocument(documentId) {
if (documentId.startsWith("pages")) return 2;
return 1;
},
},
editLink: {
pattern:
"https://github.com/kohasummons/soroban-by-example/edit/main/pages/:path",
text: "Suggest changes to this page",
},
});