Skip to content

Commit d7167f5

Browse files
authored
Add AGENTS.md and flatten files
* Add AGENTS.md * Migrate mise config * Add analysis files * Flatten guide pages * Flatten concepts pages * Flatten reference pages
1 parent 01b45c7 commit d7167f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+741
-57
lines changed
File renamed without changes.

.mise/tasks/fetch-plugin-repos

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
gh api repos/caido/store/contents/plugin_packages.json?ref=main --jq '.content' | base64 -d | jq -r '.[].repository | "https://github.com/\(.)"'

.vitepress/sidebars/concepts.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const conceptsSidebar: DefaultTheme.SidebarItem[] = [
1515
items: [
1616
{
1717
text: "UI Styling",
18-
link: "/concepts/frontend/ui",
18+
link: "/concepts/ui",
1919
},
2020
],
2121
},
@@ -24,11 +24,11 @@ export const conceptsSidebar: DefaultTheme.SidebarItem[] = [
2424
items: [
2525
{
2626
text: "Dealing with Binary",
27-
link: "/concepts/backend/binary",
27+
link: "/concepts/binary",
2828
},
2929
{
3030
text: "Plugins vs Workflows",
31-
link: "/concepts/backend/workflow",
31+
link: "/concepts/workflow",
3232
},
3333
],
3434
},
@@ -37,19 +37,19 @@ export const conceptsSidebar: DefaultTheme.SidebarItem[] = [
3737
items: [
3838
{
3939
text: "Plugin Architecture",
40-
link: "/concepts/essentials/package",
40+
link: "/concepts/package",
4141
},
4242
{
4343
text: "Tooling",
44-
link: "/concepts/essentials/tooling",
44+
link: "/concepts/tooling",
4545
},
4646
{
4747
text: "Runtime",
48-
link: "/concepts/essentials/runtime",
48+
link: "/concepts/runtime",
4949
},
5050
{
5151
text: "Signing",
52-
link: "/concepts/essentials/signing",
52+
link: "/concepts/signing",
5353
},
5454
],
5555
},
@@ -58,7 +58,7 @@ export const conceptsSidebar: DefaultTheme.SidebarItem[] = [
5858
items: [
5959
{
6060
text: "Child Process",
61-
link: "/concepts/modules/child_process",
61+
link: "/concepts/child_process",
6262
},
6363
],
6464
},

.vitepress/sidebars/guides.ts

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
2323
items: [
2424
{
2525
text: "Creating a Page",
26-
link: "/guides/components/page",
26+
link: "/guides/page",
2727
},
2828
{
2929
text: "Creating a Command",
30-
link: "/guides/components/command",
30+
link: "/guides/command",
3131
},
3232
{
3333
text: "Customizing Context Menus",
34-
link: "/guides/components/menu",
34+
link: "/guides/menu",
3535
},
3636
{
3737
text: "Storing Frontend Data",
38-
link: "/guides/components/frontend_storage",
38+
link: "/guides/frontend_storage",
3939
},
4040
{
4141
text: "Using the Component Library",
42-
link: "/guides/components/styling",
42+
link: "/guides/styling",
4343
},
4444
],
4545
},
@@ -48,43 +48,43 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
4848
items: [
4949
{
5050
text: "Creating and Calling a Custom Function",
51-
link: "/guides/components/rpc",
51+
link: "/guides/rpc",
5252
},
5353
{
5454
text: "Handling Backend Events",
55-
link: "/guides/components/backend_events",
55+
link: "/guides/backend_events",
5656
},
5757
{
5858
text: "Fetching Proxied Requests",
59-
link: "/guides/components/querying_requests",
59+
link: "/guides/querying_requests",
6060
},
6161
{
6262
text: "Sending HTTP Requests",
63-
link: "/guides/components/request",
63+
link: "/guides/request",
6464
},
6565
{
6666
text: "Sending a Fetch Request",
67-
link: "/guides/components/fetch",
67+
link: "/guides/fetch",
6868
},
6969
{
7070
text: "Sending Events to the Frontend",
71-
link: "/guides/components/events",
71+
link: "/guides/events",
7272
},
7373
{
7474
text: "Spawning a Process",
75-
link: "/guides/components/spawning_process",
75+
link: "/guides/spawning_process",
7676
},
7777
{
7878
text: "Storing Data in SQLite",
79-
link: "/guides/components/sqlite",
79+
link: "/guides/sqlite",
8080
},
8181
{
8282
text: "Using Findings",
83-
link: "/guides/components/findings",
83+
link: "/guides/findings",
8484
},
8585
{
8686
text: "Using Invalid UTF-8",
87-
link: "/guides/components/utf",
87+
link: "/guides/utf",
8888
},
8989
],
9090
},
@@ -93,11 +93,11 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
9393
items: [
9494
{
9595
text: "Adding Files",
96-
link: "/guides/components/files",
96+
link: "/guides/files",
9797
},
9898
{
9999
text: "Using Environment Variables",
100-
link: "/guides/components/env",
100+
link: "/guides/env",
101101
},
102102
],
103103
},
@@ -106,11 +106,11 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
106106
items: [
107107
{
108108
text: "Setting Up Your Repository",
109-
link: "/guides/distribution/repository",
109+
link: "/guides/repository",
110110
},
111111
{
112112
text: "Submitting to the Store",
113-
link: "/guides/distribution/store",
113+
link: "/guides/store",
114114
},
115115
],
116116
},
@@ -119,7 +119,7 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
119119
items: [
120120
{
121121
text: "Documentation",
122-
link: "/guides/contributions/documentation",
122+
link: "/guides/documentation",
123123
},
124124
],
125125
},

.vitepress/sidebars/reference.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export const referenceSidebar: DefaultTheme.SidebarItem[] = [
4141
items: [
4242
{
4343
text: "Authentication",
44-
link: "/reference/cloud/authentication/",
44+
link: "/reference/authentication",
4545
},
4646
{
4747
text: "API",
48-
link: "/reference/cloud/api/",
48+
link: "/reference/api",
4949
},
5050
],
5151
},

0 commit comments

Comments
 (0)