Skip to content

Commit

Permalink
Fix ZIO 1.x sidebars (zio#6863)
Browse files Browse the repository at this point in the history
* remove extra sidebar
rename how-to to guides

* rename howto to guides.
  • Loading branch information
khajavi authored May 27, 2022
1 parent a033bd0 commit 9eaa6bb
Show file tree
Hide file tree
Showing 29 changed files with 21 additions and 281 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/howto/index.md → docs/guides/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
id: index
title: "Summary"
title: "Guides"
---

Here are a few howto guides for common patterns with ZIO.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ methods which have no Monix equivalents, so have fun exploring the API and see i
of your logic at a higher level of abstraction, with more powerful combinators and fewer lines code.

If you are using operators from from Cats Effect extension methods see also
[here](https://zio.dev/docs/howto/migrate/from-cats-effect).
[here](https://zio.dev/docs/guides/migrate/from-cats-effect).

### Methods on Trait

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 0 additions & 6 deletions docs/usecases/asynchronous.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/usecases/concurrency.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/usecases/index.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/usecases/parallelism.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/usecases/queueing.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/usecases/retrying.md

This file was deleted.

98 changes: 0 additions & 98 deletions docs/usecases/scheduling.md

This file was deleted.

6 changes: 0 additions & 6 deletions docs/usecases/streaming.md

This file was deleted.

108 changes: 0 additions & 108 deletions docs/usecases/testing.md

This file was deleted.

36 changes: 18 additions & 18 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,29 +121,29 @@
"usecases/usecases_testing"
]
},
"howto-sidebar": {
"Overview": ["howto/index"],
"guides-sidebar": {
"Overview": ["guides/index"],
"How to": [
"howto/use-test-assertions",
"howto/test-effects",
"howto/mock-services",
"howto/handle-errors",
"howto/access-system-information",
"howto/use-zio-macros"
"guides/use-test-assertions",
"guides/test-effects",
"guides/mock-services",
"guides/handle-errors",
"guides/access-system-information",
"guides/use-zio-macros"
],
"Interop": [
"howto/interop/with-cats-effect",
"howto/interop/with-future",
"howto/interop/with-java",
"howto/interop/with-javascript",
"howto/interop/with-monix",
"howto/interop/with-scalaz-7x",
"howto/interop/with-reactive-streams",
"howto/interop/with-twitter",
"howto/interop/with-guava"
"guides/interop/with-cats-effect",
"guides/interop/with-future",
"guides/interop/with-java",
"guides/interop/with-javascript",
"guides/interop/with-monix",
"guides/interop/with-scalaz-7x",
"guides/interop/with-reactive-streams",
"guides/interop/with-twitter",
"guides/interop/with-guava"
],
"Migrate": [
"howto/migrate/from-monix"
"guides/migrate/from-monix"
]
},
"resources-sidebar": {
Expand Down
3 changes: 1 addition & 2 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ const siteConfig = {
{ doc: 'overview/overview_index', label: 'Overview' },
{ doc: 'datatypes/index', label: 'Data Types' },
{ doc: 'services/index', label: 'Services' },
{ doc: 'usecases/usecases_index', label: 'Use Cases' },
{ doc: 'howto/index', label: 'How to' },
{ doc: 'guides/index', label: 'Guides' },
{ doc: 'resources/index', label: 'Resources' },
{ doc: 'about/about_index', label: 'About' },
],
Expand Down

0 comments on commit 9eaa6bb

Please sign in to comment.