Skip to content

Commit

Permalink
docs: restructure docs page (#950)
Browse files Browse the repository at this point in the history
  • Loading branch information
sansyrox authored Aug 26, 2024
1 parent cff4d2b commit 12d8c0b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ Batman scaled his application across multiple cores for better performance. He u
async def h(request):
return f"hello to you, {request.ip_addr}"

```
```python {{ title: 'typed' }}
from robyn import Robyn, Request

app = Robyn(__file__)

@app.get("/")
async def h(request: Request):
return f"hello to you, {request.ip_addr}"

```

</CodeGroup>
Expand All @@ -38,7 +48,7 @@ Batman wondered about how to help users explore the endpoints in his application

Robyn showed him the OpenAPI Documentation!

[Multitiprocess Execution](/documentation/api_reference/openapi)
[OpenAPI Documentation](/documentation/api_reference/openapi)



Expand Down
4 changes: 2 additions & 2 deletions docs_src/src/pages/documentation/api_reference/scaling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Batman scaled his application across multiple cores for better performance. He u

## What's next?

Now, Batman wanted to extend Robyn. Robyn told him about the plugins.
Now, Batman wanted to extend Robyn. Robyn told him about the advanced features.

- [Plugins](/documentation/plugins)
- [Advanced Features](/documentation/advanced_features)

0 comments on commit 12d8c0b

Please sign in to comment.