From 64de82985bfa8d365759f4c5db843a8482043791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=BB=D0=B8=D1=8F?= Date: Sun, 31 May 2026 15:30:33 +0300 Subject: [PATCH] fix(landing): point docs links to render docs site (#197) --- landing/README.md | 3 ++- landing/components/layout/AppFooter.vue | 13 +++++---- landing/components/layout/AppHeader.vue | 11 +++++--- landing/components/sections/HeroSection.vue | 11 +++++--- landing/nuxt.config.ts | 2 ++ landing/public/docs/index.html | 12 +++++++++ landing/public/docs/ru/index.html | 12 +++++++++ landing/server/routes/llms.txt.ts | 6 +++-- landing/server/routes/robots.txt.ts | 5 +++- landing/utils/docsUrl.ts | 29 +++++++++++++++++++++ 10 files changed, 89 insertions(+), 15 deletions(-) create mode 100644 landing/public/docs/index.html create mode 100644 landing/public/docs/ru/index.html create mode 100644 landing/utils/docsUrl.ts diff --git a/landing/README.md b/landing/README.md index 7e21d2be..566c0b0f 100644 --- a/landing/README.md +++ b/landing/README.md @@ -21,7 +21,7 @@ Landing and docs are deployed as separate Render Static Sites from the `main` br Landing: ```bash -corepack enable && pnpm install --frozen-lockfile --ignore-scripts && NUXT_PUBLIC_SITE_URL=$RENDER_EXTERNAL_URL NUXT_PUBLIC_ROBOTS="index, follow" pnpm --filter agent-teams-landing generate +corepack enable && pnpm install --frozen-lockfile --ignore-scripts && NUXT_PUBLIC_SITE_URL=$RENDER_EXTERNAL_URL NUXT_PUBLIC_DOCS_SITE_URL=https://agent-teams-ai-docs.onrender.com NUXT_PUBLIC_ROBOTS="index, follow" pnpm --filter agent-teams-landing generate ``` Publish path: `landing/.output/public` @@ -45,3 +45,4 @@ When a custom landing domain is attached, update `VITEPRESS_LANDING_SITE_URL` on - Theme auto-detection: localStorage -> system preference -> fallback `light`. - Hero video uses the Mux Player embed. Set `NUXT_PUBLIC_MUX_PLAYBACK_ID` to override the default playback id without changing the code. - Hero background can use a separate Mux asset via `NUXT_PUBLIC_MUX_BACKGROUND_PLAYBACK_ID`; otherwise it reuses `NUXT_PUBLIC_MUX_PLAYBACK_ID`. +- Set `NUXT_PUBLIC_DOCS_SITE_URL` when the docs are deployed as a separate static site. diff --git a/landing/components/layout/AppFooter.vue b/landing/components/layout/AppFooter.vue index 52be6429..e5a8b025 100644 --- a/landing/components/layout/AppFooter.vue +++ b/landing/components/layout/AppFooter.vue @@ -1,15 +1,18 @@