From 6d9cdbe4eeabb50c910a8b0ede69edb5af9b377c Mon Sep 17 00:00:00 2001 From: petradonka Date: Fri, 26 Jun 2026 07:06:55 +0000 Subject: [PATCH] Automated SEO fixes: resolve multiple H1 on /api and trim SSH description - src/pages/api.astro: demote the server-rendered endpoint-index spec title from

to

(and per-endpoint headings

to

) so the page has a single H1 ("Warp & Oz HTTP API reference"), fixing the multiple_h1 SEO warning while keeping a clean h1 > h2 > h3 outline. - src/content/docs/terminal/warpify/ssh.mdx: trim the meta description from 162 to 159 chars ("to get a" -> "for a") so it is no longer truncated in search results. Co-Authored-By: Oz --- src/content/docs/terminal/warpify/ssh.mdx | 2 +- src/pages/api.astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/docs/terminal/warpify/ssh.mdx b/src/content/docs/terminal/warpify/ssh.mdx index 1e6a67b7..ae674c88 100644 --- a/src/content/docs/terminal/warpify/ssh.mdx +++ b/src/content/docs/terminal/warpify/ssh.mdx @@ -1,7 +1,7 @@ --- title: SSH with Warp features description: >- - Use Warp's SSH extension on remote macOS and Linux hosts to get a real file + Use Warp's SSH extension on remote macOS and Linux hosts for a real file tree, code editing, code review, codebase indexing, and reliable completions over SSH. --- diff --git a/src/pages/api.astro b/src/pages/api.astro index 092b8fb2..67f42c68 100644 --- a/src/pages/api.astro +++ b/src/pages/api.astro @@ -206,7 +206,7 @@ const specBaseUrl = (specObject.servers as Array<{ url?: string }> | undefined)? any HTTP client that reads HTML — including AI crawlers, scanners and agents. -->
-

{specInfo?.title}

+

{specInfo?.title}

{specInfo?.description}

Base URL: {specBaseUrl}

Authentication: Bearer token (Warp API key). Obtain from account settings. Pass as Authorization: Bearer YOUR_API_KEY.

@@ -215,7 +215,7 @@ const specBaseUrl = (specObject.servers as Array<{ url?: string }> | undefined)?
{Object.entries(methods).filter(([method]) => HTTP_METHODS.has(method)).map(([method, op]) => (
-

{method.toUpperCase()} {endpointPath}

+

{method.toUpperCase()} {endpointPath}

{op.summary &&

{op.summary}

} {op.description &&

{op.description}

} {op.parameters && op.parameters.length > 0 && (