Skip to content

Commit

Permalink
fix: some broken routes in the refactor (#1114)
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox authored Jan 19, 2025
1 parent c623930 commit 8daab8f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs_src/src/pages/documentation/en/hosting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ We can go to our domain `<domain>/hello` and confirm that the message "Hello Wor

## Next Steps

- [Future Roadmap](/documentation/api_reference/future-roadmap)
- [Future Roadmap](/documentation/en/api_reference/future-roadmap)
4 changes: 2 additions & 2 deletions docs_src/src/pages/documentation/en/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Welcome to the Robyn API documentation. You'll find comprehensive guides and doc
We have divided the documentation into two parts: the [Example Application](#guides) and the [API Reference](#resources).

<div className="not-prose mb-16 mt-6 flex gap-3">
<Button href="/documentation/example_app" arrow="right" children="Real World App" />
<Button href="/documentation/api_reference" variant="outline" children="Api Docs" />
<Button href="/documentation/en/example_app" arrow="right" children="Real World App" />
<Button href="/documentation/en/api_reference" variant="outline" children="Api Docs" />
</div>

## Getting started {{ anchor: false }}
Expand Down
2 changes: 1 addition & 1 deletion docs_src/src/pages/documentation/en/plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ The plugin integrates seamlessly with the Robyn web framework, enhancing the sec

After exploring the plugins, Batman wanted to explore the community.So, Robyn pointed him to

- [Future Roadmap](/documentation/api_reference/future-roadmap)
- [Future Roadmap](/documentation/en/api_reference/future-roadmap)
6 changes: 3 additions & 3 deletions docs_src/src/pages/documentation/zh/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const sections = [
欢迎来到Robyn API文档。您将找到全面的指南和文档,帮助您尽快开始使用Robyn,并在遇到困难时获得支持。

<div className="not-prose mb-16 mt-6 flex gap-3">
<Button href="/documentation/example_app" arrow="right" children="实际应用示例" />
<Button href="/documentation/api_reference" variant="outline" children="API文档" />
<Button href="/documentation/zh/example_app" arrow="right" children="实际应用示例" />
<Button href="/documentation/zh/api_reference" variant="outline" children="API文档" />
</div>

## 入门指南 {{ anchor: false }}
Expand All @@ -30,4 +30,4 @@ API参考包含了有关Robyn API的详细信息。如果您已经熟悉Robyn并
</div>
<Guides />

<ApiDocs />
<ApiDocs />
6 changes: 3 additions & 3 deletions docs_src/src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function Home({ articles }) {
</p>
<div className="mt-10 flex items-center justify-center gap-x-6">
<a
href="/documentation"
href="/documentation/en"
className="rounded-md bg-yellow-500 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-yellow-600 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-400"
>
Get started
Expand Down Expand Up @@ -343,13 +343,13 @@ export default function Home({ articles }) {
</p>
<div className="mt-10 flex items-center justify-center gap-x-6">
<a
href="/documentation/example_app"
href="/documentation/en/example_app"
className="rounded-md bg-white px-3.5 py-2.5 text-sm font-semibold text-gray-900 shadow-sm hover:bg-gray-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white"
>
Get started
</a>
<a
href="/documentation/api_reference"
href="/documentation/en/api_reference"
className="text-sm font-semibold leading-6 text-white"
>
Read the docs <span aria-hidden="true"></span>
Expand Down

0 comments on commit 8daab8f

Please sign in to comment.