Skip to content

Commit 46880c3

Browse files
committed
fix: some broken routes in the refactor (#1114)
1 parent c623930 commit 46880c3

39 files changed

+137
-130
lines changed

Diff for: docs_src/src/components/documentation/ApiDocs.jsx

+22-23
Original file line numberDiff line numberDiff line change
@@ -3,109 +3,108 @@ import { Heading } from '@/components/documentation/Heading'
33

44
const guides = [
55
{
6-
href: '/documentation/api_reference',
6+
href: '/documentation/en/api_reference',
77
name: 'Installation',
88
description: 'Start using Robyn in your project.',
99
},
1010
{
11-
href: '/documentation/api_reference/getting_started',
11+
href: '/documentation/en/api_reference/getting_started',
1212
name: 'Getting Started',
1313
description: 'Start with creating basic routes in Robyn.',
1414
},
1515
{
16-
href: '/documentation/api_reference/request_object',
16+
href: '/documentation/en/api_reference/request_object',
1717
name: 'The Request Object',
1818
description: 'Learn about the Request Object in Robyn.',
1919
},
2020
{
21-
href: '/documentation/api_reference/robyn_env',
21+
href: '/documentation/en/api_reference/robyn_env',
2222
name: 'The Robyn Env file',
2323
description: 'Learn about the Robyn variables',
2424
},
2525
{
26-
href: '/documentation/api_reference/middlewares',
26+
href: '/documentation/en/api_reference/middlewares',
2727
name: 'Middlewares, Events and Websockets',
2828
description: 'Learn about Middlewares, Events and Websockets in Robyn.',
2929
},
3030
{
31-
href: '/documentation/api_reference/authentication',
31+
href: '/documentation/en/api_reference/authentication',
3232
name: 'Authentication',
3333
description: 'Learn about Authentication in Robyn.',
3434
},
3535
{
36-
href: '/documentation/api_reference/const_requests',
36+
href: '/documentation/en/api_reference/const_requests',
3737
name: 'Const Requests and Multi Core Scaling',
3838
description: 'Learn about Const Requests and Multi Core Scaling in Robyn.',
3939
},
4040
{
41-
href: '/documentation/api_reference/cors',
41+
href: '/documentation/en/api_reference/cors',
4242
name: 'CORS',
4343
description: 'CORS',
4444
},
4545
{
46-
href: '/documentation/api_reference/templating',
46+
href: '/documentation/en/api_reference/templating',
4747
name: 'Templating',
4848
description: 'Learn about Templating in Robyn.',
4949
},
5050
{
51-
href: '/documentation/api_reference/redirection',
51+
href: '/documentation/en/api_reference/redirection',
5252
name: 'Redirection',
5353
description: 'Learn how to redirect requests to different endpoints.',
5454
},
5555
{
56-
href: '/documentation/api_reference/file-uploads',
56+
href: '/documentation/en/api_reference/file-uploads',
5757
name: 'File Uploads',
5858
description:
5959
'Learn how to upload and download files to your server using Robyn.',
6060
},
6161
{
62-
href: '/documentation/api_reference/form_data',
62+
href: '/documentation/en/api_reference/form_data',
6363
name: 'Form Data and Multi Part Form Data',
6464
description: 'Learn how to handle form data.',
6565
},
6666
{
67-
href: '/documentation/api_reference/websockets',
67+
href: '/documentation/en/api_reference/websockets',
6868
name: 'Websockets',
6969
description: 'Learn how to use Websockets in Robyn.',
7070
},
7171
{
72-
href: '/documentation/api_reference/exceptions',
72+
href: '/documentation/en/api_reference/exceptions',
7373
name: 'Exceptions',
7474
description: 'Learn how to handle exceptions in Robyn.',
7575
},
7676
{
77-
href: '/documentation/api_reference/scaling',
77+
href: '/documentation/en/api_reference/scaling',
7878
name: 'Scaling the Application',
7979
description: 'Learn how to scaled Robyn across multiple cores.',
8080
},
8181
{
82-
href: '/documentation/api_reference/advanced_features',
82+
href: '/documentation/en/api_reference/advanced_features',
8383
name: 'Advanced Features',
8484
description: 'Learn about advanced features in Robyn.',
8585
},
8686
{
87-
href: '/documentation/api_reference/multiprocess_execution',
87+
href: '/documentation/en/api_reference/multiprocess_execution',
8888
name: 'Multiprocess Execution',
8989
description: 'Learn about the behaviour or variables during multithreading',
9090
},
9191
{
92-
href: '/documentation/api_reference/using_rust_directly',
92+
href: '/documentation/en/api_reference/using_rust_directly',
9393
name: 'Direct Rust Usage',
9494
description: 'Learn about directly using Rust in Robyn.',
9595
},
9696
{
97-
href: '/documentation/api_reference/graphql-support',
97+
href: '/documentation/en/api_reference/graphql-support',
9898
name: 'GraphQL Support',
9999
description: 'Learn about GraphQL Support in Robyn.',
100100
},
101101
{
102-
href: '/documentation/api_reference/openapi',
102+
href: '/documentation/en/api_reference/openapi',
103103
name: 'OpenAPI Documentation',
104-
description:
105-
'Learn how to generate OpenAPI docs for your applications.',
104+
description: 'Learn how to generate OpenAPI docs for your applications.',
106105
},
107106
{
108-
href: '/documentation/api_reference/dependency_injection',
107+
href: '/documentation/en/api_reference/dependency_injection',
109108
name: 'Dependency Injection',
110109
description: 'Learn about Dependency Injection in Robyn.',
111110
},

Diff for: docs_src/src/components/documentation/Guides.jsx

+9-10
Original file line numberDiff line numberDiff line change
@@ -3,50 +3,49 @@ import { Heading } from '@/components/documentation/Heading'
33

44
const guides = [
55
{
6-
href: '/documentation/example_app',
6+
href: '/documentation/en/example_app',
77
name: 'Getting Started',
88
description: 'Learn how to authenticate your API requests.',
99
},
1010
{
11-
href: '/documentation/example_app/authentication',
11+
href: '/documentation/en/example_app/authentication',
1212
name: 'Authentication and Authorization',
1313
description: 'Understand how to use authentication and authorization.',
1414
},
1515
{
16-
href: '/documentation/example_app/authentication-middlewares',
16+
href: '/documentation/en/example_app/authentication-middlewares',
1717
name: 'Middlewares',
1818
description:
1919
'Read about different kinds of Middlewares and how to use them.',
2020
},
2121
{
22-
href: '/documentation/example_app/monitoring_and_logging',
22+
href: '/documentation/en/example_app/monitoring_and_logging',
2323
name: 'Monitoring and Logging',
2424
description: 'Learn how to have montoring and logging in Robyn.',
2525
},
2626
{
27-
href: '/documentation/example_app/real_time_notifications',
27+
href: '/documentation/en/example_app/real_time_notifications',
2828
name: 'Real Time Notifications',
2929
description: 'Learn how to have real time notification in Robyn.',
3030
},
3131
{
32-
href: '/documentation/example_app/deployment',
32+
href: '/documentation/en/example_app/deployment',
3333
name: 'Deployments',
3434
description:
3535
'Learn how to deploy your app to production and manage your deployments.',
3636
},
3737
{
38-
href: '/documentation/example_app/openapi',
38+
href: '/documentation/en/example_app/openapi',
3939
name: 'OpenAPI Documentation',
40-
description:
41-
'Learn how OpenAPI docs are generate for your applications.',
40+
description: 'Learn how OpenAPI docs are generate for your applications.',
4241
},
4342
]
4443

4544
export function Guides() {
4645
return (
4746
<div className="my-16 xl:max-w-none">
4847
<Heading level={2} id="guides">
49-
<h3 className='text-white'>Example Application</h3>
48+
<h3 className="text-white">Example Application</h3>
5049
</Heading>
5150
<div className="not-prose mt-4 grid grid-cols-1 gap-8 border-t border-white/5 pt-10 sm:grid-cols-2 xl:grid-cols-4">
5251
{guides.map((guide) => (

0 commit comments

Comments
 (0)