Skip to content

Commit

Permalink
Update Examples (#2656)
Browse files Browse the repository at this point in the history
* print sources utils.

* hello world example.

* remove extra line.

* add sidebar label.

* add client and server example.

* update hello world examples.

* basic authentication.

* https client example.

* basic authentication.

* hello world with cors.

* hello world advanced.

* update static files example.

* update streaming file example.

* streaming response example.

* update websocket examples.

* https client.

* https server.

* update websocket.

* scalafixEnable.

* cli examples.

* cli, cookie, endpoint, concrete-entity examples.

* graceful shutdown example.

* html templating example.

* multipar form data.

* streaming multipart form data example.

* streaming examples.

* fix sidebar.

* server-sent-events-in-endpoints example.

* fix title issue.

* serving static files.

* restructure the whole examples.

* trivial fix.

* enable semantic db.

* fix syntax error.
  • Loading branch information
khajavi authored Jan 29, 2024
1 parent fbc3ddc commit aecd87c
Show file tree
Hide file tree
Showing 35 changed files with 423 additions and 681 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ lazy val zioHttpTestkit = (project in file("zio-http-testkit"))

lazy val docs = project
.in(file("zio-http-docs"))
.settings(stdSettings("zio-http-docs"))
.settings(
moduleName := "zio-http-docs",
scalacOptions -= "-Yno-imports",
Expand Down
72 changes: 0 additions & 72 deletions docs/examples/advanced/authentication.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/examples/advanced/concrete-entity.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/examples/advanced/middleware-basic-authentication.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/examples/advanced/middleware-cors-handling.md

This file was deleted.

49 changes: 0 additions & 49 deletions docs/examples/advanced/server.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/examples/advanced/static-files.md

This file was deleted.

38 changes: 0 additions & 38 deletions docs/examples/advanced/streaming-file.md

This file was deleted.

39 changes: 0 additions & 39 deletions docs/examples/advanced/streaming-response.md

This file was deleted.

Loading

0 comments on commit aecd87c

Please sign in to comment.