docs: Change /doc-permalinks/ redirects to point to /stable/ RTD.

With the exception of /registration-transfer, the /stable/ docs have the
relevant sections - so that's the better choice to link to.
This commit is contained in:
Mateusz Mandera
2025-02-14 02:25:49 +08:00
committed by Tim Abbott
parent 51a4ed61ee
commit 1c57e04cc1
2 changed files with 6 additions and 6 deletions

View File

@@ -270,9 +270,9 @@ def desktop_home(request: HttpRequest) -> HttpResponse:
def doc_permalinks_view(request: HttpRequest, doc_id: str) -> HttpResponse:
DOC_PERMALINK_MAP: dict[str, str] = {
"usage-statistics": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#uploading-usage-statistics",
"basic-metadata": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#uploading-basic-metadata",
"why-service": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#why-a-push-notification-service-is-necessary",
"usage-statistics": "https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html#uploading-usage-statistics",
"basic-metadata": "https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html#uploading-basic-metadata",
"why-service": "https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html#why-a-push-notification-service-is-necessary",
"registration-transfer": "https://zulip.readthedocs.io/en/latest/production/mobile-push-notifications.html#moving-your-registration-to-a-new-server",
}