diff --git a/.changeset/fluffy-pianos-shout.md b/.changeset/fluffy-pianos-shout.md new file mode 100644 index 0000000..7395426 --- /dev/null +++ b/.changeset/fluffy-pianos-shout.md @@ -0,0 +1,5 @@ +--- +"@effect/docgen": patch +--- + +fix config handling diff --git a/docs/_config.yml b/docs/_config.yml index 40cfe66..a568e27 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -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 diff --git a/src/Config.ts b/src/Config.ts index 61abb3b..0315117 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -154,7 +154,7 @@ export const ConfigLive = Layer.effect( Option.match( maybeConfig, () => defaultConfig, - (loadedConfig) => ({ ...defaultConfig, loadedConfig }) + (loadedConfig) => ({ ...defaultConfig, ...loadedConfig }) ) ) })