Skip to content

Commit a09a7ca

Browse files
authored
Merge pull request #4 from cameronrye/fix-Doc-site-structure
Update config.ts
2 parents 22e2fa4 + 0872c35 commit a09a7ca

File tree

1 file changed

+123
-12
lines changed

1 file changed

+123
-12
lines changed

docs/.vitepress/config.ts

Lines changed: 123 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ export default defineConfig({
1919

2020
themeConfig: {
2121
logo: '/logo.svg',
22-
22+
2323
nav: [
2424
{ text: 'Guide', link: '/guide/getting-started' },
25-
{ text: 'API Reference', link: '/api/tools' },
25+
{ text: 'API Reference', link: '/api/' },
2626
{ text: 'Examples', link: '/examples/basic-usage' },
2727
{
28-
text: 'v0.1.0',
28+
text: 'Resources',
2929
items: [
30+
{ text: 'FAQ', link: '/FAQ' },
3031
{ text: 'Changelog', link: '/changelog' },
3132
{ text: 'Contributing', link: '/contributing' },
3233
],
@@ -57,22 +58,132 @@ export default defineConfig({
5758
{
5859
text: 'Advanced',
5960
items: [
60-
{ text: 'Custom Tools', link: '/guide/custom-tools' },
61-
{ text: 'Rate Limiting', link: '/guide/rate-limiting' },
62-
{ text: 'Security', link: '/guide/security' },
63-
{ text: 'Performance', link: '/guide/performance' },
61+
{ text: 'Deployment', link: '/guide/deployment' },
62+
{ text: 'Troubleshooting', link: '/guide/troubleshooting' },
63+
],
64+
},
65+
{
66+
text: 'Diagrams',
67+
items: [
68+
{ text: 'Architecture', link: '/diagrams/architecture' },
69+
{ text: 'Flows', link: '/diagrams/flows' },
70+
{ text: 'Sequences', link: '/diagrams/sequences' },
6471
],
6572
},
6673
],
6774
'/api/': [
6875
{
6976
text: 'API Reference',
7077
items: [
71-
{ text: 'Tools', link: '/api/tools' },
72-
{ text: 'Resources', link: '/api/resources' },
73-
{ text: 'Prompts', link: '/api/prompts' },
74-
{ text: 'Types', link: '/api/types' },
75-
{ text: 'Errors', link: '/api/errors' },
78+
{ text: 'Overview', link: '/api/' },
79+
],
80+
},
81+
{
82+
text: 'Social Operations',
83+
collapsed: true,
84+
items: [
85+
{ text: 'Create Post', link: '/api/tools/create-post' },
86+
{ text: 'Create Rich Text Post', link: '/api/tools/create-rich-text-post' },
87+
{ text: 'Reply to Post', link: '/api/tools/reply-to-post' },
88+
{ text: 'Like Post', link: '/api/tools/like-post' },
89+
{ text: 'Unlike Post', link: '/api/tools/unlike-post' },
90+
{ text: 'Repost', link: '/api/tools/repost' },
91+
{ text: 'Unrepost', link: '/api/tools/unrepost' },
92+
],
93+
},
94+
{
95+
text: 'User Management',
96+
collapsed: true,
97+
items: [
98+
{ text: 'Follow User', link: '/api/tools/follow-user' },
99+
{ text: 'Unfollow User', link: '/api/tools/unfollow-user' },
100+
{ text: 'Get User Profile', link: '/api/tools/get-user-profile' },
101+
{ text: 'Update Profile', link: '/api/tools/update-profile' },
102+
{ text: 'Block User', link: '/api/tools/block-user' },
103+
{ text: 'Unblock User', link: '/api/tools/unblock-user' },
104+
{ text: 'Mute User', link: '/api/tools/mute-user' },
105+
{ text: 'Unmute User', link: '/api/tools/unmute-user' },
106+
],
107+
},
108+
{
109+
text: 'Data Retrieval',
110+
collapsed: true,
111+
items: [
112+
{ text: 'Search Posts', link: '/api/tools/search-posts' },
113+
{ text: 'Get Timeline', link: '/api/tools/get-timeline' },
114+
{ text: 'Get Followers', link: '/api/tools/get-followers' },
115+
{ text: 'Get Follows', link: '/api/tools/get-follows' },
116+
{ text: 'Get Notifications', link: '/api/tools/get-notifications' },
117+
{ text: 'Get Thread', link: '/api/tools/get-thread' },
118+
{ text: 'Get Custom Feed', link: '/api/tools/get-custom-feed' },
119+
],
120+
},
121+
{
122+
text: 'Content Management',
123+
collapsed: true,
124+
items: [
125+
{ text: 'Delete Post', link: '/api/tools/delete-post' },
126+
{ text: 'Upload Image', link: '/api/tools/upload-image' },
127+
{ text: 'Upload Video', link: '/api/tools/upload-video' },
128+
{ text: 'Generate Link Preview', link: '/api/tools/generate-link-preview' },
129+
],
130+
},
131+
{
132+
text: 'OAuth Authentication',
133+
collapsed: true,
134+
items: [
135+
{ text: 'Start OAuth Flow', link: '/api/tools/start-oauth-flow' },
136+
{ text: 'Handle OAuth Callback', link: '/api/tools/handle-oauth-callback' },
137+
{ text: 'Refresh OAuth Tokens', link: '/api/tools/refresh-oauth-tokens' },
138+
{ text: 'Revoke OAuth Tokens', link: '/api/tools/revoke-oauth-tokens' },
139+
],
140+
},
141+
{
142+
text: 'Moderation',
143+
collapsed: true,
144+
items: [
145+
{ text: 'Report Content', link: '/api/tools/report-content' },
146+
{ text: 'Report User', link: '/api/tools/report-user' },
147+
],
148+
},
149+
{
150+
text: 'Real-time Streaming',
151+
collapsed: true,
152+
items: [
153+
{ text: 'Start Streaming', link: '/api/tools/start-streaming' },
154+
{ text: 'Stop Streaming', link: '/api/tools/stop-streaming' },
155+
{ text: 'Get Streaming Status', link: '/api/tools/get-streaming-status' },
156+
{ text: 'Get Recent Events', link: '/api/tools/get-recent-events' },
157+
],
158+
},
159+
{
160+
text: 'Lists Management',
161+
collapsed: true,
162+
items: [
163+
{ text: 'Create List', link: '/api/tools/create-list' },
164+
{ text: 'Add to List', link: '/api/tools/add-to-list' },
165+
{ text: 'Remove from List', link: '/api/tools/remove-from-list' },
166+
{ text: 'Get List', link: '/api/tools/get-list' },
167+
],
168+
},
169+
{
170+
text: 'Resources',
171+
collapsed: true,
172+
items: [
173+
{ text: 'Timeline', link: '/api/resources/timeline' },
174+
{ text: 'Profile', link: '/api/resources/profile' },
175+
{ text: 'Notifications', link: '/api/resources/notifications' },
176+
],
177+
},
178+
{
179+
text: 'Types',
180+
collapsed: true,
181+
items: [
182+
{ text: 'Core Types', link: '/api/types/core' },
183+
{ text: 'Configuration Types', link: '/api/types/configuration' },
184+
{ text: 'Parameter Types', link: '/api/types/parameters' },
185+
{ text: 'Error Types', link: '/api/types/errors' },
186+
{ text: 'Utility Types', link: '/api/types/utilities' },
76187
],
77188
},
78189
],

0 commit comments

Comments
 (0)