Skip to content

Commit

Permalink
fix config handling (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti authored Jun 9, 2023
1 parent c28e993 commit 2a909a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-pianos-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/docgen": patch
---

fix config handling
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
remote_theme: pmarsceill/just-the-docs
remote_theme: mikearnaldi/just-the-docs

# Enable or disable the site search
search_enabled: true
Expand Down
2 changes: 1 addition & 1 deletion src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const ConfigLive = Layer.effect(
Option.match(
maybeConfig,
() => defaultConfig,
(loadedConfig) => ({ ...defaultConfig, loadedConfig })
(loadedConfig) => ({ ...defaultConfig, ...loadedConfig })
)
)
})
Expand Down

0 comments on commit 2a909a1

Please sign in to comment.