Skip to content

GRO-789 move docs-local.css so it doesn't trigger cloudfront redirect - #1271

Merged
bpander merged 1 commit into
masterfrom
gro-789-docs-version-picker-renders-unstyled
Aug 4, 2026
Merged

GRO-789 move docs-local.css so it doesn't trigger cloudfront redirect#1271
bpander merged 1 commit into
masterfrom
gro-789-docs-version-picker-renders-unstyled

Conversation

@bpander

@bpander bpander commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

There's a cloudfront redirect preventing production from loading docs/docs-local.css.

The redirect doesn't happen in PR envs so that's probably why it wasn't caught.

This just moves the file to a place that won't trigger the redirect.

These are a couple curls to metabase.com/docs. You can see the 301. The new path is a 404 (i.e. not a 301) so it should load once we deploy the file there.

Screenshot 2026-08-04 at 12 02 09 PM

PR env (not the greatest test but shows it didn't break at least):

https://gro-789-docs-version-picker-renders-unstyled.dkkh35gceu2po.amplifyapp.com/docs/latest/

Screenshot 2026-08-04 at 12 06 16 PM

@bpander bpander self-assigned this Aug 4, 2026
@bpander
bpander marked this pull request as ready for review August 4, 2026 16:07
@bpander
bpander requested a review from a team August 4, 2026 16:07
@bpander
bpander merged commit 4394d29 into master Aug 4, 2026
1 check passed
@bpander
bpander deleted the gro-789-docs-version-picker-renders-unstyled branch August 4, 2026 16:11
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