-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathsidebar.ts
More file actions
155 lines (153 loc) · 4.79 KB
/
Copy pathsidebar.ts
File metadata and controls
155 lines (153 loc) · 4.79 KB
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
import type { Sidebar } from "./types";
import { forgeCliReference } from "./forge-cli-reference";
import { cmdReference } from "./cmd-reference";
import { anvilCliReference } from "./anvil-cli-reference";
import { chiselCliReference } from "./chisel-cli-reference";
import { castCliReference } from "./cast-cli-reference";
import { forgeStdReference } from "./forge-std-reference";
import { forgeDocs, lintingSidebar } from "./forge";
import { guidesSidebar } from "./guides";
const docs = [
{
text: "Introduction",
items: [
{ text: "Installation", link: "/introduction/installation" },
{ text: "Getting Started", link: "/introduction/getting-started" },
{ text: "Prompting", link: "/introduction/prompting" },
{ text: "Documentation for Agents", link: "/introduction/agents" },
],
},
{
text: "Projects",
items: [
{ text: "Overview", link: "/projects" },
{ text: "Project Layout", link: "/projects/layout" },
{ text: "Dependencies", link: "/projects/dependencies" },
{ text: "Soldeer", link: "/projects/soldeer" },
],
},
{
text: "Forge",
items: forgeDocs,
},
{
text: "Cast",
items: [
{ text: "Overview", link: "/cast" },
{ text: "Reading Chain Data", link: "/cast/reading-chain-data" },
{ text: "Sending Transactions", link: "/cast/sending-transactions" },
{ text: "Wallet Operations", link: "/cast/wallet-operations" },
{ text: "EIP-7702 Delegation", link: "/cast/eip-7702-delegation" },
{ text: "ABI Encoding", link: "/cast/abi-encoding" },
],
},
{
text: "Anvil",
items: [
{ text: "Overview", link: "/anvil" },
{ text: "Forking", link: "/anvil/forking" },
{ text: "Mining and Transaction Pool", link: "/anvil/mining" },
{ text: "State Management", link: "/anvil/state-management" },
{ text: "Custom Methods", link: "/anvil/custom-methods" },
{ text: "RPC Method Reference", link: "/anvil/rpc-methods" },
],
},
{
text: "Chisel",
items: [
{ text: "Overview", link: "/chisel" },
{ text: "Session Management", link: "/chisel/session-management" },
{ text: "Forking", link: "/chisel/forking" },
{ text: "Commands", link: "/chisel/commands" },
],
},
{
text: "Help",
items: [
{ text: "FAQ", link: "/help/faq" },
{ text: "Troubleshooting", link: "/help/troubleshooting" },
],
},
{
text: "Configuration",
items: [
{ text: "Overview", link: "/config" },
{ text: "Profiles", link: "/config/profiles" },
{ text: "Compiler", link: "/config/compiler" },
{ text: "Testing", link: "/config/testing" },
{ text: "MESC", link: "/config/mesc" },
{ text: "CI Integration", link: "/config/ci" },
{ text: "Editor Setup", link: "/config/editors" },
],
},
{
text: "Best Practices",
link: "/best-practices",
},
];
export const sidebar: Sidebar = {
"/benchmarks": [],
"/": [],
"/introduction": docs,
"/projects": docs,
"/forge": docs,
"/cast": docs,
"/anvil": docs,
"/chisel": docs,
"/help": docs,
"/best-practices": docs,
"/config": docs,
...guidesSidebar,
"/forge/linting": lintingSidebar,
"/reference/forge": [
forgeCliReference,
],
"/reference/cast": [
castCliReference,
],
"/reference/anvil": [
anvilCliReference,
],
"/reference/chisel": [
chiselCliReference,
],
"/reference/cheatcodes": [
{
text: "Cheatcodes",
items: cmdReference,
},
],
"/reference/forge-std": [
forgeStdReference,
],
"/config/reference": [
{
text: "Configuration",
items: [
{ text: "Overview", link: "/config/reference/overview" },
{ text: "Project", link: "/config/reference/project" },
{ text: "Solidity Compiler", link: "/config/reference/solidity-compiler" },
{ text: "Testing", link: "/config/reference/testing" },
{ text: "Tracing", link: "/config/reference/tracing" },
{ text: "Advanced Testing", link: "/config/reference/advanced-testing" },
{ text: "Build, Runtime, and RPC", link: "/config/reference/build-and-runtime" },
{ text: "Tool-specific Configuration", link: "/config/reference/tooling" },
{ text: "In-line Test Config", link: "/config/reference/inline-test-config" },
{ text: "Formatter", link: "/config/reference/formatter" },
{ text: "Linter", link: "/config/reference/linter" },
{ text: "Documentation Generator", link: "/config/reference/doc-generator" },
{ text: "Etherscan", link: "/config/reference/etherscan" },
],
},
],
"/releases": [
{
text: "Releases",
items: [
{ text: "Latest", link: "/releases" },
{ text: "Stable", link: "/releases/stable" },
{ text: "Nightly", link: "/releases/nightly" },
],
},
],
};