We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef8293 commit 4ed0537Copy full SHA for 4ed0537
src/util/sidebar.ts
@@ -182,7 +182,8 @@ export function flattenSidebar(sidebar: SidebarEntry[]): Link[] {
182
183
function getBadge(link: string): any {
184
if (link.startsWith("/api")) return { text: "API", variant: "note" };
185
- if (link.includes("/mcp-server-cloudflare")) return { text: "MCP", variant: "note" };
+ if (link.includes("/mcp-server-cloudflare"))
186
+ return { text: "MCP", variant: "note" };
187
return undefined;
188
}
189
0 commit comments