fix(docs): show manual-setup indicator for extensions without an install link (#10321)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Conor Bronsdon 2026-07-08 18:32:52 -07:00 committed by GitHub
parent 45327dae5f
commit d86063bad9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 4 deletions

View file

@ -149,7 +149,17 @@ export function ServerCard({ server }: { server: MCPServer }) {
<span>Install</span> <span>Install</span>
<Download className="h-4 w-4" /> <Download className="h-4 w-4" />
</a> </a>
) : null} ) : (
<div
className="manual-setup-badge"
title={
server.installation_notes ||
"This extension requires manual setup. See details for instructions."
}
>
Manual setup
</div>
)}
</div> </div>
</div> </div>
</div> </div>

View file

@ -281,7 +281,8 @@
color: #fa5204; color: #fa5204;
} }
.built-in-badge { .built-in-badge,
.manual-setup-badge {
font-size: 0.75rem; font-size: 0.75rem;
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
border-radius: 999px; border-radius: 999px;
@ -322,6 +323,7 @@ html[data-theme="dark"] .command-content {
background-color: rgba(255, 255, 255, 0.05); background-color: rgba(255, 255, 255, 0.05);
} }
html[data-theme="dark"] .built-in-badge { html[data-theme="dark"] .built-in-badge,
html[data-theme="dark"] .manual-setup-badge {
background-color: rgba(255, 255, 255, 0.1); background-color: rgba(255, 255, 255, 0.1);
} }

View file

@ -225,7 +225,14 @@ const getDocumentationPath = (serverId: string): string => {
<span>Install</span> <span>Install</span>
<Download className="h-4 w-4" /> <Download className="h-4 w-4" />
</a> </a>
) : null} ) : (
<div
className="manual-setup-badge"
title="This extension requires manual setup. See the installation notes above."
>
Manual setup
</div>
)}
</div> </div>
</div> </div>
</div> </div>