|
1 | | -import { defineConfig, Feedback, McpSource, Changelog } from 'vocs/config' |
2 | | -import { sidebar } from './sidebar/sidebar' |
| 1 | +import { defineConfig, Feedback, McpSource, Changelog } from "vocs/config"; |
| 2 | +import { sidebar } from "./sidebar/sidebar"; |
3 | 3 |
|
4 | 4 | export const sponsors = { |
5 | 5 | collaborators: [ |
6 | 6 | { |
7 | | - name: 'Paradigm', |
8 | | - link: 'https://paradigm.xyz', |
| 7 | + name: "Paradigm", |
| 8 | + link: "https://paradigm.xyz", |
9 | 9 | image: |
10 | | - 'https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg', |
| 10 | + "https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/paradigm-light.svg", |
11 | 11 | }, |
12 | 12 | { |
13 | | - name: 'Tempo', |
14 | | - link: 'https://tempo.xyz', |
| 13 | + name: "Tempo", |
| 14 | + link: "https://tempo.xyz", |
15 | 15 | image: |
16 | | - 'https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/tempo-light.svg', |
| 16 | + "https://raw.githubusercontent.com/wevm/.github/main/content/sponsors/tempo-light.svg", |
17 | 17 | }, |
18 | 18 | ], |
19 | | -} |
| 19 | +}; |
20 | 20 |
|
21 | 21 | export default defineConfig({ |
| 22 | + codeHighlight: { |
| 23 | + langs: [], |
| 24 | + langAlias: { |
| 25 | + gitignore: "text", |
| 26 | + }, |
| 27 | + }, |
22 | 28 | // light: '#f98a1a', -- darker orange than the one below |
23 | | - accentColor: 'light-dark(#f6b128, #f9c22f)', |
24 | | - title: 'foundry - Ethereum Development Framework', |
25 | | - rootDir: '.', |
| 29 | + accentColor: "light-dark(#f6b128, #f9c22f)", |
| 30 | + title: "foundry - Ethereum Development Framework", |
| 31 | + rootDir: ".", |
26 | 32 | sidebar, |
27 | | - changelog: Changelog.github({ repo: 'foundry-rs/foundry' }), |
| 33 | + changelog: Changelog.github({ repo: "foundry-rs/foundry" }), |
28 | 34 | feedback: Feedback.slack(), |
29 | 35 | mcp: { |
30 | 36 | enabled: true, |
31 | | - sources: [ |
32 | | - McpSource.github({ repo: 'foundry-rs/foundry' }), |
33 | | - ], |
| 37 | + sources: [McpSource.github({ repo: "foundry-rs/foundry" })], |
34 | 38 | }, |
35 | 39 | editLink: { |
36 | | - link: 'https://github.com/foundry-rs/book/edit/master/vocs/src/pages/:path', |
37 | | - text: 'Suggest changes on GitHub', |
| 40 | + link: "https://github.com/foundry-rs/book/edit/master/vocs/src/pages/:path", |
| 41 | + text: "Suggest changes on GitHub", |
38 | 42 | }, |
39 | | - logoUrl: '/foundry-logo.png', |
40 | | - iconUrl: '/foundry-logo.png', |
41 | | - ogImageUrl: '/og-image.png', |
| 43 | + logoUrl: "/foundry-logo.png", |
| 44 | + iconUrl: "/foundry-logo.png", |
| 45 | + ogImageUrl: "/og-image.png", |
42 | 46 | socials: [ |
43 | 47 | { |
44 | | - link: 'https://github.com/foundry-rs/foundry', |
45 | | - icon: 'github' |
| 48 | + link: "https://github.com/foundry-rs/foundry", |
| 49 | + icon: "github", |
46 | 50 | }, |
47 | 51 | { |
48 | | - link: 'https://t.me/foundry_support', |
49 | | - icon: 'telegram', |
50 | | - } |
| 52 | + link: "https://t.me/foundry_support", |
| 53 | + icon: "telegram", |
| 54 | + }, |
51 | 55 | ], |
52 | 56 | topNav: [ |
53 | 57 | { |
54 | | - link: '/introduction/getting-started', |
55 | | - text: 'Docs', |
| 58 | + link: "/introduction/getting-started", |
| 59 | + text: "Docs", |
56 | 60 | }, |
57 | 61 | { |
58 | | - link: '/guides', |
59 | | - text: 'Guides', |
| 62 | + link: "/guides", |
| 63 | + text: "Guides", |
60 | 64 | }, |
61 | 65 | { |
62 | | - text: 'Reference', |
| 66 | + text: "Reference", |
63 | 67 | items: [ |
64 | 68 | { |
65 | | - text: 'forge', |
66 | | - link: '/reference/forge/forge', |
| 69 | + text: "forge", |
| 70 | + link: "/reference/forge/forge", |
67 | 71 | }, |
68 | 72 | { |
69 | | - text: 'cast', |
70 | | - link: '/reference/cast/cast', |
| 73 | + text: "cast", |
| 74 | + link: "/reference/cast/cast", |
71 | 75 | }, |
72 | 76 | { |
73 | | - text: 'anvil', |
74 | | - link: '/reference/anvil/anvil', |
| 77 | + text: "anvil", |
| 78 | + link: "/reference/anvil/anvil", |
75 | 79 | }, |
76 | 80 | { |
77 | | - text: 'chisel', |
78 | | - link: '/reference/chisel/chisel', |
| 81 | + text: "chisel", |
| 82 | + link: "/reference/chisel/chisel", |
79 | 83 | }, |
80 | 84 | { |
81 | | - text: 'Cheatcodes', |
82 | | - link: '/reference/cheatcodes/overview', |
| 85 | + text: "Cheatcodes", |
| 86 | + link: "/reference/cheatcodes/overview", |
83 | 87 | }, |
84 | 88 | { |
85 | | - text: 'Forge Std', |
86 | | - link: '/reference/forge-std/overview', |
| 89 | + text: "Forge Std", |
| 90 | + link: "/reference/forge-std/overview", |
87 | 91 | }, |
88 | | - ] |
| 92 | + ], |
89 | 93 | }, |
90 | 94 | { |
91 | | - link: '/benchmarks', |
92 | | - text: 'Benchmarks', |
| 95 | + link: "/benchmarks", |
| 96 | + text: "Benchmarks", |
93 | 97 | }, |
94 | 98 | { |
95 | | - text: 'Changelog', |
96 | | - link: '/changelog', |
97 | | - } |
98 | | - ] |
99 | | -}) |
| 99 | + text: "Changelog", |
| 100 | + link: "/changelog", |
| 101 | + }, |
| 102 | + ], |
| 103 | +}); |
0 commit comments