From e3f2ca264e8c9c0d6ded6fab610ff7862cacdc24 Mon Sep 17 00:00:00 2001 From: Robert Shelton Date: Thu, 18 Jun 2026 13:01:18 -0400 Subject: [PATCH] fix(docs): point site_url at the canonical docs.redisvl.com URL The docs are hosted as a Read the Docs subproject at docs.redisvl.com/projects/sql-redis/, but site_url still pointed at the old GitHub Pages URL (redis-developer.github.io/sql-redis). With the Material theme navigation.instant feature enabled, a site_url whose origin does not match the serving domain breaks client-side navigation, and it also emitted wrong canonical link tags and sitemap entries. Derive site_url from the READTHEDOCS_CANONICAL_URL env var that Read the Docs injects per version, with the stable docs.redisvl.com URL as a fallback for local and CI builds. --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index baec9e7..271087b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,6 +1,6 @@ site_name: sql-redis site_description: SQL to Redis FT.SEARCH and FT.AGGREGATE translator. -site_url: https://redis-developer.github.io/sql-redis/ +site_url: !ENV [READTHEDOCS_CANONICAL_URL, "https://docs.redisvl.com/projects/sql-redis/en/stable/"] repo_url: https://github.com/redis-developer/sql-redis repo_name: redis-developer/sql-redis edit_uri: edit/main/docs/