Skip to content

Conversation

@rickeylev
Copy link
Collaborator

@rickeylev rickeylev commented May 29, 2025

The redirect was going to a non-existent URL when viewed on the deployed docs.

This was happening because the absolute paths /api/whatever don't exist in the deployed
site -- it's actually /en/latest/api/whatever. This went unnoticed because it works
locally (where there is no /en/latest prefix).

To fix, use a relative url (relative urls are relative to the path that is redirected from)

@rickeylev rickeylev force-pushed the fix.sphinxdocs.index.link branch from 91d3c8a to 5379811 Compare May 29, 2025 07:05
@rickeylev rickeylev marked this pull request as ready for review May 29, 2025 07:07
@rickeylev rickeylev requested a review from aignas as a code owner May 29, 2025 07:07
@rickeylev rickeylev enabled auto-merge May 29, 2025 07:07
@rickeylev rickeylev requested review from dougthor42 and groodt May 29, 2025 07:08
@rickeylev rickeylev added this pull request to the merge queue May 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 29, 2025
@aignas aignas added this pull request to the merge queue May 29, 2025
Merged via the queue into bazel-contrib:main with commit bbf3ab8 May 29, 2025
3 checks passed
@rickeylev rickeylev deleted the fix.sphinxdocs.index.link branch May 30, 2025 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants