mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-24 11:12:11 +00:00
[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.
This commit is contained in:
parent
9c44d6aa47
commit
9acf9ddc75
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue