Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Set the right site_url #3060

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[docs] Set the right site_url #3060

wants to merge 1 commit into from

Commits on Jul 2, 2024

  1. [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.
    daenney committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    9acf9dd View commit details
    Browse the repository at this point in the history