Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ZIO Logging Sidebar Issue #7688

Merged
merged 2 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions website/plugins/zio-ecosystem-docusaurus/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function zioEcosystemPlugin(context, options) {
return mapConfig(categoryTemplate(project.name, require("@zio.dev/".concat(project.routeBasePath, "/").concat(project.sidebarPath))
.sidebar
.filter(function (e) { return e != "index"; })), "".concat(project.routeBasePath, "/"));
}).concat(["zio-sbt", "zio-direct"].map(function (project) {
}).concat(["zio-sbt", "zio-direct", "zio-logging"].map(function (project) {
return mapConfig(require("@zio.dev/".concat(project, "/sidebars.js")).sidebar[0], "".concat(project, "/"));
}))
.sort(function (a, b) { return a.label < b.label ? -1 : a.label > b.label ? 1 : 0; });
Expand Down Expand Up @@ -262,11 +262,6 @@ var zioProjects = [
routeBasePath: 'zio-lambda',
sidebarPath: 'sidebars.js'
},
{
name: 'ZIO Logging',
routeBasePath: 'zio-logging',
sidebarPath: 'sidebars.js'
},
{
name: 'ZIO Metrics Connectors',
routeBasePath: 'zio-metrics-connectors',
Expand Down
7 changes: 1 addition & 6 deletions website/plugins/zio-ecosystem-docusaurus/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function zioEcosystemPlugin(context: LoadContext, options: PluginOptions) {
`${project.routeBasePath}/`
)
}).concat(
["zio-sbt", "zio-direct"].map(project =>
["zio-sbt", "zio-direct", "zio-logging"].map(project =>
mapConfig(require(`@zio.dev/${project}/sidebars.js`).sidebar[0], `${project}/`)
)
)
Expand Down Expand Up @@ -246,11 +246,6 @@ const zioProjects =
routeBasePath: 'zio-lambda',
sidebarPath: 'sidebars.js',
},
{
name: 'ZIO Logging',
routeBasePath: 'zio-logging',
sidebarPath: 'sidebars.js',
},
{
name: 'ZIO Metrics Connectors',
routeBasePath: 'zio-metrics-connectors',
Expand Down