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

[bazel.build] Problem with /reference/command-line-reference #24792

Open
kylepl opened this issue Dec 23, 2024 · 2 comments
Open

[bazel.build] Problem with /reference/command-line-reference #24792

kylepl opened this issue Dec 23, 2024 · 2 comments
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: documentation (cleanup) untriaged

Comments

@kylepl
Copy link

kylepl commented Dec 23, 2024

Page link:

https://bazel.build/reference/command-line-reference

Problem description (include actual vs expected text, if applicable):

I noticed this on the command-line page, but probably applies to them all.

If you visit the versionless page (apparently it is the nightly), e.g. https://bazel.build/reference/command-line-reference, and then you click on a version in the top-right corner (e.g. 7.3), the URL immediately changes (e.g. to https://bazel.build/versions/7.3.0/reference/command-line-reference), but the page does not actually reload or change.

For instance, if you search in the default page (the nightly) - and this is just an example - you'll find sandbox_enable_loopback_device on the page. But this flag was just recently added (i.e. not in 7.3). If you then refresh the page after clicking 7.3, only then does the correct content load - and sandbox_enable_loopback_device is no longer on the page, as expected.

Where do you see this issue? (include link to specific section of the page, if applicable)

No response

Any other information you'd like to share?

No response

@kylepl kylepl added team-Documentation Documentation improvements that cannot be directly linked to other team labels type: documentation (cleanup) untriaged labels Dec 23, 2024
@iancha1992 iancha1992 added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Dec 23, 2024
@fmeum
Copy link
Collaborator

fmeum commented Dec 24, 2024

I can't reproduce this in Chrome, but it does take a while for the page to update after clicking 7.3.

@kylepl
Copy link
Author

kylepl commented Dec 24, 2024

Interestingly, I do see that slow load on Firefox (and looking at dev tools in Firefox, see ~2.3MB loaded for 7.3 on the command-line reference page). But on my Chrome (128.0.6613.113 (Official Build) (64-bit), Linux) - I see a what seems like a much smaller response (<0.4MB) - and it seems like a service worker is taking it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Documentation Documentation improvements that cannot be directly linked to other team labels team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website type: documentation (cleanup) untriaged
Projects
None yet
Development

No branches or pull requests

5 participants