Skip to content

Commit

Permalink
refactor: website docs sidebar pages repositioned (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
girdharshubham authored Feb 25, 2022
1 parent 06c29d2 commit 7f9b409
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/cookies.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "7"
---
# Cookie

**ZIO HTTP** has special support for Cookie headers using the `Cookie` Domain to add and invalidate cookies. Adding a cookie will generate the correct [Set-Cookie](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie) headers
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/headers.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "6"
---
# Headers

**ZIO HTTP** provides support for all HTTP headers (as defined in [RFC2616](https://datatracker.ietf.org/doc/html/rfc2616) ) along with custom headers.
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/http.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "2"
---
# Http

`Http` is a functional domain that models HTTP applications. It’s polymorphic on input and output type.
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/httpdata.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "5"
---
# HttpData
`HttpData` is a domain to model content for `Request`, `Response` and `ClientRequest`. ZIO HTTP uses Netty at it's core and Netty handles content as `ByteBuf`. `HttpData` helps you decode and encode this content into simpler, easier to use data types while creating a Request or Response.
## Server-side usage of `HttpData`
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/middleware.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "8"
---
# Middleware

WIP
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/request.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "3"
---
# Request

**ZIO HTTP** `Request` is designed in the simplest way possible to decode HTTP Request into a ZIO HTTP request.
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/response.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "4"
---
# Response

**ZIO HTTP** `Response` is designed to encode HTTP Response.
Expand Down
3 changes: 3 additions & 0 deletions docs/website/docs/v1.x/dsl/server.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
---
sidebar_position: "1"
---
# Server

This section describes, ZIO HTTP Server and different configurations you can provide while creating the Server
Expand Down
2 changes: 1 addition & 1 deletion docs/website/docs/v1.x/dsl/socket/_category_.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"label": "Socket",
"position": 10
"position": 9
}

0 comments on commit 7f9b409

Please sign in to comment.