Skip to content

refactor(docs): slim contributors config, rely on theme defaults#463

Closed
AaronFeledy wants to merge 2 commits intomainfrom
refactor/slim-contributors-config
Closed

refactor(docs): slim contributors config, rely on theme defaults#463
AaronFeledy wants to merge 2 commits intomainfrom
refactor/slim-contributors-config

Conversation

@AaronFeledy
Copy link
Copy Markdown
Member

@AaronFeledy AaronFeledy commented Apr 24, 2026

Slims the contributors block in docs/.vitepress/config.mjs from ~30 lines to 5 by deferring to the updated @lando/vitepress-theme-default-plus defaults.

Before: locally copied Mike, Alec, and Aaron entries, plus a {} placeholder working around a lodash index-merge gotcha.

After: one single-field override to attach desc: 'SLAVE4U' to Mike. Maintainer entries (including Aaron, with x icons) come from theme defaults.

contributors: {
  include: [
    {email: 'mike@lando.dev', desc: 'SLAVE4U', mergeOnly: true},
  ],
},

The /team page renders identically to before, plus Aaron Feledy now shows as a maintainer.

Requires: @lando/vitepress-theme-default-plus ≥ v1.2.0 (lando/vitepress-theme-default-plus#100).


Note

Low Risk
Low risk docs-site configuration change; main impact is how the contributors/team data is sourced, which could alter /team rendering if theme defaults differ.

Overview
Removes the locally defined themeConfig.contributors block from docs/.vitepress/config.mjs, deferring contributor/maintainer metadata to @lando/vitepress-theme-default-plus defaults.

This reduces duplication in docs config and shifts ownership of team entries (names, links, maintainer flags) to the theme configuration.

Reviewed by Cursor Bugbot for commit e0ec822. Bugbot is set up for automated code reviews on this repo. Configure here.

Removes locally-copied Mike, Alec, and Aaron entries plus a lodash index-merge workaround placeholder. All three maintainers now come from @lando/vitepress-theme-default-plus defaults. Only Mike's 'SLAVE4U' desc remains as a local override.

Requires @lando/vitepress-theme-default-plus >= v1.2.0 (lando/vitepress-theme-default-plus#100).
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 24, 2026

Deploy Preview for lando-core ready!

Name Link
🔨 Latest commit e0ec822
🔍 Latest deploy log https://app.netlify.com/projects/lando-core/deploys/69f0e5348a01fa0008543fcd
😎 Deploy Preview https://deploy-preview-463--lando-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 91 (🟢 up 30 from production)
Accessibility: 89 (no change from production)
Best Practices: 83 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Autofix Details

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Theme dependency not bumped to required version
    • Updated package.json and package-lock.json to use git commit 1df74fbc from theme PR #100, which includes the required landov3 contributor defaults for Mike, Alec, and Aaron.

Create PR

Or push these changes by commenting:

@cursor push 7c7c54dcb0
Preview (7c7c54dcb0)
diff --git a/package-lock.json b/package-lock.json
--- a/package-lock.json
+++ b/package-lock.json
@@ -76,7 +76,7 @@
       "devDependencies": {
         "@babel/eslint-parser": "^7.16.0",
         "@lando/leia": "^1.0.0-beta.4",
-        "@lando/vitepress-theme-default-plus": "^1.1.5",
+        "@lando/vitepress-theme-default-plus": "github:lando/vitepress-theme-default-plus#1df74fbc30225e55959c345722ffa4e314bf263a",
         "@types/lodash": "^4.17.24",
         "@yao-pkg/pkg": "^5.16.1",
         "chai": "^4.3.4",
@@ -1699,8 +1699,8 @@
     },
     "node_modules/@lando/vitepress-theme-default-plus": {
       "version": "1.1.5",
-      "resolved": "https://registry.npmjs.org/@lando/vitepress-theme-default-plus/-/vitepress-theme-default-plus-1.1.5.tgz",
-      "integrity": "sha512-a54uTRfiKwOXTJ4Gm6xhnMKRg0lpZ/CosDIfh1jksw5fg/VELpmPKhbC6A0i8OgoNO27hXIe5EOby2sZWshKjg==",
+      "resolved": "git+ssh://git@github.com/lando/vitepress-theme-default-plus.git#1df74fbc30225e55959c345722ffa4e314bf263a",
+      "integrity": "sha512-5OmLm7wwB0FfI+gqNvfmW5O8FzhrdoBCDoCAiIHtkoCAxpMNeloBHScTkICLzUQHKo2lctCCN6+Zj/7MTTpQ/w==",
       "dev": true,
       "license": "MIT",
       "dependencies": {

diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -149,7 +149,7 @@
   "devDependencies": {
     "@babel/eslint-parser": "^7.16.0",
     "@lando/leia": "^1.0.0-beta.4",
-    "@lando/vitepress-theme-default-plus": "^1.1.5",
+    "@lando/vitepress-theme-default-plus": "github:lando/vitepress-theme-default-plus#1df74fbc30225e55959c345722ffa4e314bf263a",
     "@types/lodash": "^4.17.24",
     "@yao-pkg/pkg": "^5.16.1",
     "chai": "^4.3.4",

You can send follow-ups to the cloud agent here.

org: 'lando.dev',
orgLink: 'https://lando.dev',
desc: 'SLAVE4U',
links: [
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theme dependency not bumped to required version

High Severity

The contributors block now relies on landov3 defaults from @lando/vitepress-theme-default-plus ≥ v1.2.0 (as stated in the PR description), but package.json still specifies "^1.1.5" and the lockfile pins 1.1.5. A fresh npm install resolves to v1.1.5 which lacks the default contributor entries for Mike Pirog, Alec Reynolds, and Aaron Feledy — breaking the /team page rendering. The dependency version needs to be bumped alongside this config change.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9b2fc07. Configure here.

…heme defaults

The contributors.include array only held Mike's 'SLAVE4U' desc override.
Removing it so Mike, Alec, and Aaron all render exactly as the landov3
preset defines them (see @lando/vitepress-theme-default-plus/config/
landov3.js).
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Contributors override block entirely removed instead of slimmed
    • Restored the contributors block with Mike Pirog's 'SLAVE4U' desc override that was inadvertently removed in commit e0ec822, matching the intended PR state from commit 9b2fc07.

Create PR

Or push these changes by commenting:

@cursor push 93dc9a153e
Preview (93dc9a153e)
diff --git a/docs/.vitepress/config.mjs b/docs/.vitepress/config.mjs
--- a/docs/.vitepress/config.mjs
+++ b/docs/.vitepress/config.mjs
@@ -86,7 +86,18 @@
         patterns: ['help/**/*.md', 'troubleshooting/**/*.md'],
       },
     },
-
+    contributors: {
+      include: [
+        // Mike, Alec, and Aaron come from the landov3 defaults already
+        // (see @lando/vitepress-theme-default-plus/config/landov3.js).
+        // Only override the bits we want to change locally.
+        {
+          email: 'mike@lando.dev',
+          desc: 'SLAVE4U',
+          mergeOnly: true,
+        },
+      ],
+    },
     sidebar: {
       '/cli': cliBar(),
       '/config': configBar(),

You can send follow-ups to the cloud agent here.

Reviewed by Cursor Bugbot for commit e0ec822. Configure here.

},
],
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Contributors override block entirely removed instead of slimmed

High Severity

The contributors block was completely removed rather than replaced with the slimmed-down version described in the PR. The PR explicitly states the config should contain a contributors object with an include array carrying Mike Pirog's {email: 'mike@lando.dev', desc: 'SLAVE4U', mergeOnly: true} override, but the committed file has no contributors key at all. Without this override, Mike's custom desc field won't be applied on the /team page.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e0ec822. Configure here.

@AaronFeledy AaronFeledy deleted the refactor/slim-contributors-config branch April 28, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant