diff --git a/docs/website/docs/v1.x/dsl/cookies.md b/docs/website/docs/v1.x/dsl/cookies.md index 2bf45e3d55..d0d9ead8bb 100644 --- a/docs/website/docs/v1.x/dsl/cookies.md +++ b/docs/website/docs/v1.x/dsl/cookies.md @@ -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 diff --git a/docs/website/docs/v1.x/dsl/headers.md b/docs/website/docs/v1.x/dsl/headers.md index 0f6b5dc69c..f70b6de93e 100644 --- a/docs/website/docs/v1.x/dsl/headers.md +++ b/docs/website/docs/v1.x/dsl/headers.md @@ -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. diff --git a/docs/website/docs/v1.x/dsl/http.md b/docs/website/docs/v1.x/dsl/http.md index 14aca3203c..7e7b83fde9 100644 --- a/docs/website/docs/v1.x/dsl/http.md +++ b/docs/website/docs/v1.x/dsl/http.md @@ -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. diff --git a/docs/website/docs/v1.x/dsl/httpdata.md b/docs/website/docs/v1.x/dsl/httpdata.md index fed92fb811..d807d0577c 100644 --- a/docs/website/docs/v1.x/dsl/httpdata.md +++ b/docs/website/docs/v1.x/dsl/httpdata.md @@ -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` diff --git a/docs/website/docs/v1.x/dsl/middleware.md b/docs/website/docs/v1.x/dsl/middleware.md index 5baa765c27..e55192be9d 100644 --- a/docs/website/docs/v1.x/dsl/middleware.md +++ b/docs/website/docs/v1.x/dsl/middleware.md @@ -1,3 +1,6 @@ +--- +sidebar_position: "8" +--- # Middleware WIP \ No newline at end of file diff --git a/docs/website/docs/v1.x/dsl/request.md b/docs/website/docs/v1.x/dsl/request.md index 10bc77ebd6..6af6b94874 100644 --- a/docs/website/docs/v1.x/dsl/request.md +++ b/docs/website/docs/v1.x/dsl/request.md @@ -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. diff --git a/docs/website/docs/v1.x/dsl/response.md b/docs/website/docs/v1.x/dsl/response.md index 7c71abd158..24573c8423 100644 --- a/docs/website/docs/v1.x/dsl/response.md +++ b/docs/website/docs/v1.x/dsl/response.md @@ -1,3 +1,6 @@ +--- +sidebar_position: "4" +--- # Response **ZIO HTTP** `Response` is designed to encode HTTP Response. diff --git a/docs/website/docs/v1.x/dsl/server.md b/docs/website/docs/v1.x/dsl/server.md index b16cec80ac..33310d0993 100644 --- a/docs/website/docs/v1.x/dsl/server.md +++ b/docs/website/docs/v1.x/dsl/server.md @@ -1,3 +1,6 @@ +--- +sidebar_position: "1" +--- # Server This section describes, ZIO HTTP Server and different configurations you can provide while creating the Server diff --git a/docs/website/docs/v1.x/dsl/socket/_category_.json b/docs/website/docs/v1.x/dsl/socket/_category_.json index 095acccf27..9c624dcc6d 100644 --- a/docs/website/docs/v1.x/dsl/socket/_category_.json +++ b/docs/website/docs/v1.x/dsl/socket/_category_.json @@ -1,4 +1,4 @@ { "label": "Socket", - "position": 10 + "position": 9 }