From c0811f1c0b47fbf372a87e412fc6113cfcbce641 Mon Sep 17 00:00:00 2001 From: Bryant Date: Fri, 26 Jun 2026 08:34:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(docs):=20Point=20canonical/OG?= =?UTF-8?q?=20origin=20to=20docs.agent-assembly.com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Docusaurus site derives the emitted canonical link and OpenGraph og:url from `url` + `baseUrl`. `url` still referenced the old GitHub Pages origin (ai-agent-assembly.github.io), so the built HTML advertised stale canonical/og:url URLs even though docs now live at docs.agent-assembly.com. Repoint `url` to the custom docs domain; the hub serves this module under /node-sdk/ (unchanged `baseUrl`). GitHub Pages stays functional as a mirror since routing is baseUrl-relative. Refs AAASM-3759 --- website/docusaurus.config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index cb777853..521281e6 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -27,7 +27,13 @@ const config: Config = { v4: true, }, - url: "https://ai-agent-assembly.github.io", + // Production docs origin. Docusaurus derives the emitted `` and OpenGraph `og:url` from `url` + `baseUrl`, so this + // points at the custom docs domain the hub serves the module under + // (https://docs.agent-assembly.com/node-sdk/...). The GitHub Pages + // deployment (ai-agent-assembly.github.io/node-sdk/) keeps working as a + // mirror because in-site routing is driven by `baseUrl`, not `url`. + url: "https://docs.agent-assembly.com", baseUrl: "/node-sdk/", organizationName: "ai-agent-assembly",