Skip to content

Commit

Permalink
fix bug causing sidebar ender to not merge correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Nov 4, 2024
1 parent 7a3b1a2 commit 1f40427
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Fixed bug in `normalize-mvb` causing `multiVersionBuild.build` to sometimes not be set correctly
* Fixed `lando` configset bug causing `sidebarEnder` to not merge correctly

## v1.1.0-beta.17 - [November 1, 2024](https://github.com/lando/vitepress-theme-default-plus/releases/tag/v1.1.0-beta.17)

Expand Down
2 changes: 1 addition & 1 deletion config/landov3.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function({
const repo = landoPlugin ? `https://github.com/lando/${landoPlugin}` : 'https://github.com/lando';

// if no sidebar ender and we have plugin/version then do it
if (!themeConfig.sidebarEnder && landoPlugin && version) {
if (!themeConfig.sidebarEnder && themeConfig.sidebarEnder !== false && landoPlugin && version) {
themeConfig.sidebarEnder = {
text,
collapsed: true,
Expand Down
2 changes: 1 addition & 1 deletion config/landov4.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function({
const repo = landoPlugin ? `https://github.com/lando/${landoPlugin}` : 'https://github.com/lando';

// if no sidebar ender and we have plugin/version then do it
if (!themeConfig.sidebarEnder && landoPlugin && version) {
if (!themeConfig.sidebarEnder && themeConfig.sidebarEnder !== false && landoPlugin && version) {
themeConfig.sidebarEnder = {
text,
collapsed: true,
Expand Down

0 comments on commit 1f40427

Please sign in to comment.