-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathastro.config.old.ts
124 lines (122 loc) · 5.23 KB
/
astro.config.old.ts
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
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config'
import starlightBlogPlugin from 'starlight-blog'
import starlightLinksValidatorPlugin from 'starlight-links-validator'
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'
// TODO fix this
const ENABLE_LINK_CHECKER = false
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
logo: {
light: './src/assets/tevm-logo-light.png',
dark: './src/assets/tevm-logo-dark.png',
},
lastUpdated: true,
customCss: ['./src/styles/custom.css'],
editLink: {
baseUrl: 'https://github.com/evmts/tevm-monorepo/edit/main/docs',
},
tableOfContents: true,
favicon: './src/assets/tevm-logo-dark.png',
plugins: [
starlightBlogPlugin(),
...(ENABLE_LINK_CHECKER
? [
starlightLinksValidatorPlugin({
errorOnRelativeLinks: true,
}),
]
: []),
starlightTypeDoc({
entryPoints: [
'../packages/actions',
'../packages/node',
'../packages/block',
'../packages/blockchain',
'../packages/client-types',
'../packages/common',
'../packages/contract',
'../packages/decorators',
'../packages/evm',
'../packages/errors',
'../extensions/ethers',
'../packages/evm',
'../packages/http-client',
'../packages/jsonrpc',
'../packages/logger',
'../packages/memory-client',
'../packages/precompiles/',
'../packages/predeploys',
'../packages/receipt-manager',
'../packages/rlp',
'../packages/server',
'../packages/state',
'../packages/sync-storage-persister',
'../test/test-utils',
'../packages/trie',
'../packages/tx',
'../packages/txpool',
'../packages/utils',
'../extensions/viem',
'../packages/vm',
'../bundler-packages/base-bundler',
'../bundler-packages/bun',
'../bundler-packages/bundler-cache',
'../bundler-packages/compiler',
'../bundler-packages/config',
'../bundler-packages/esbuild',
'../packages/address',
'../packages/effect',
'../bundler-packages/resolutions',
'../bundler-packages/rollup',
'../bundler-packages/rspack',
'../bundler-packages/runtime',
'../bundler-packages/solc',
'../bundler-packages/unplugin',
'../bundler-packages/ts-plugin',
'../bundler-packages/vite',
'../bundler-packages/webpack',
],
tsconfig: '../tevm/tsconfig.json',
output: 'reference',
sidebar: {
label: 'Reference (auto-generated)',
collapsed: true,
},
typeDoc: {
gitRevision: 'main',
entryPointStrategy: 'packages',
},
}),
],
title: 'Tevm Docs',
social: {
github: 'https://github.com/evmts/tevm-monorepo',
twitter: 'https://twitter.com/FUCORY',
telegram: 'https://t.me/+ANThR9bHDLAwMjUx',
},
sidebar: [
{
label: 'Getting Started',
items: [{ label: 'Getting Started Guide', link: '/getting-started/getting-started/' }],
},
{
label: 'Learn',
items: [
{ label: 'Clients', link: '/learn/clients/' },
{ label: 'Actions', link: '/learn/actions/' },
{ label: 'Low-level API', link: '/learn/low-level-api/' },
{ label: 'JSON RPC', link: '/learn/json-rpc/' },
{ label: 'Contracts', link: '/learn/contracts/' },
{ label: 'Bundler', link: '/learn/solidity-imports/' },
{ label: 'Advanced Scripting', link: '/learn/scripting/' },
{ label: 'Reference', link: '/learn/reference/' },
],
},
typeDocSidebarGroup,
],
}),
],
})