You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2026/09/14 14:36:11 UTC

(skywalking-website) branch master updated: Fix synced doc titles and rename Envoy AI Gateway to Agent Router (#930)

This is an automated email from the ASF dual-hosted git repository.

wu-sheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0dc4982e0df5 Fix synced doc titles and rename Envoy AI Gateway to Agent Router (#930)
0dc4982e0df5 is described below

commit 0dc4982e0df57af04c5d57eec0a301d1f1dc3ac2
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Mon Sep 14 22:36:05 2026 +0800

    Fix synced doc titles and rename Envoy AI Gateway to Agent Router (#930)
---
 content/_index.html                   | 4 ++--
 docs.js                               | 4 +++-
 layouts/shortcodes/home-platform.html | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/content/_index.html b/content/_index.html
index 00f9577edb75..badcffbb4864 100644
--- a/content/_index.html
+++ b/content/_index.html
@@ -105,7 +105,7 @@ description = "Apache SkyWalking is an open source observability platform for cl
         </div>
         <div class="pillar-footer">
           <p class="pillar-note"><span class="pillar-preview">Preview</span> Conversation replay and file changes for Claude Code.</p>
-          <div class="pillar-links"><a class="pillar-cta" href="/blog/2026-09-12-ai-sessionizer-workspace-changes/">Explore AI observability <span aria-hidden="true">→</span></a><a class="pillar-docs" href="/docs/main/next/en/setup/backend/backend-envoy-ai-gateway-monitoring/">AI Gateway docs <span aria-hidden="true">↗</span></a></div>
+          <div class="pillar-links"><a class="pillar-cta" href="/blog/2026-09-12-ai-sessionizer-workspace-changes/">Explore AI observability <span aria-hidden="true">→</span></a><a class="pillar-docs" href="/docs/main/next/en/setup/backend/backend-envoy-ai-gateway-monitoring/">Agent Router docs <span aria-hidden="true">↗</span></a></div>
         </div>
       </article>
     </div>
@@ -142,7 +142,7 @@ description = "Apache SkyWalking is an open source observability platform for cl
   <div class="container">
     <div class="ai-domain-heading">
       <div><span class="eyebrow">AI OBSERVABILITY</span><h2 id="ai-domain-title">From model performance<br>to agent work.</h2></div>
-      <div class="ai-domain-intro"><p>Monitor model and MCP traffic through Envoy AI Gateway. For Claude Code, explore usage patterns, replay conversations, and inspect the work recorded inside them.</p><a class="domain-link" href="/docs/skywalking-horizon-ui/next/dashboards/envoy_ai_gateway/">Explore AI Gateway <span aria-hidden="true">→</span></a></div>
+      <div class="ai-domain-intro"><p>Monitor model and MCP traffic through Agent Router. For Claude Code, explore usage patterns, replay conversations, and inspect the work recorded inside them.</p><a class="domain-link" href="/docs/skywalking-horizon-ui/next/dashboards/envoy_ai_gateway/">Explore Agent Router <span aria-hidden="true">→</span></a></div>
     </div>
     <div class="workflow-heading"><span>Inside a Claude Code workflow</span><span class="workflow-preview">Preview</span></div>
     {{< home-agent-workflow >}}
diff --git a/docs.js b/docs.js
index 11edca844540..5153322f4917 100644
--- a/docs.js
+++ b/docs.js
@@ -75,7 +75,9 @@ function replaceMarkdownText(codeTxt, docInfo, filePath) {
     const prefix = repoUrl.replace('.git', '/tree') + `/${commitId}`;
     const depth = filePath.split('/docs')[1].match(/\//g).length - 2;
 
-    let title = codeTxt.trim().split('\n')[0]
+    // Skip leading HTML comments (e.g. an Apache license header) so the title
+    // comes from the first real line instead of "<!--".
+    let title = codeTxt.replace(/^\s*(<!--[\s\S]*?-->\s*)+/, '').trim().split('\n')[0]
     const titleMatch = title.match(/(?<=([ ])).*/g)
     // When the first line has no space (a single-word heading, or "#Heading"
     // with no space after the marker) match() returns null; fall back to the
diff --git a/layouts/shortcodes/home-platform.html b/layouts/shortcodes/home-platform.html
index 3e36fd66c4c9..e3d9cdf7f4fd 100644
--- a/layouts/shortcodes/home-platform.html
+++ b/layouts/shortcodes/home-platform.html
@@ -52,7 +52,7 @@
         <ul class="hp-projects">
           <li>
             <a class="hp-project" href="/docs/main/next/en/setup/backend/backend-envoy-ai-gateway-monitoring/">
-              <span class="hp-project-copy"><span class="hp-project-title">AI Gateway</span><span class="hp-project-description">Monitor LLM and MCP traffic through Envoy AI Gateway.</span></span>
+              <span class="hp-project-copy"><span class="hp-project-title">Agent Router</span><span class="hp-project-description">Monitor LLM and MCP traffic through Agent Router.</span></span>
               <span class="hp-arrow" aria-hidden="true">→</span>
             </a>
           </li>