From 9acf9ddc752f63092b757efeda802dba951d6807 Mon Sep 17 00:00:00 2001 From: Daenney Date: Tue, 2 Jul 2024 16:30:18 +0200 Subject: [PATCH] [docs] Set the right site_url Though the entry point is docs.gotosocial.org, that's redirected by RTD to docs.gotosocial.org/en/latest/ which is where the actual site is served from. However, other URLs like docs.gotosocial.org/admin aren't redirected to docs.gotosocial.org/en/latest/admin. They just 404. Without us including the /en/latest/ all the generated og:img URLs as well as the link rel=canonical result in URLs that all 404. This means that currently the social cards aren't working well, but indexing the docs site by search engines is probably also partially broken, since our sitemap.xml is also pointing at things that don't exist. --- mkdocs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index 799b4bcbe..8b485a4c5 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,5 @@ site_name: GoToSocial Documentation -site_url: https://docs.gotosocial.org +site_url: https://docs.gotosocial.org/en/latest/ theme: name: material language: en