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

Remove .x from URLs and version dropdown #48

Merged
merged 5 commits into from
Jan 3, 2024
Merged

Remove .x from URLs and version dropdown #48

merged 5 commits into from
Jan 3, 2024

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Jan 3, 2024

This fixes #47 by having URLs like <domain>/2.20/... instead of <domain>/2.20.x/....

Commits are useful to review individually.

@huonw huonw requested a review from thejcannon January 3, 2024 06:16
@huonw huonw merged commit 764d694 into main Jan 3, 2024
1 check passed
@huonw huonw deleted the huonw/47-no-x branch January 3, 2024 22:06
@thejcannon
Copy link
Member

oh I just thought of this. Did you test/change the sync action? It uses the release version to know which directory to sync to, and if the directory changed it needs to as well

@huonw
Copy link
Contributor Author

huonw commented Jan 4, 2024

oh, yeah, good catch. #56 for the specific problem, and #59 to cover stopping this happening in future.

huonw added a commit that referenced this pull request Jan 4, 2024
This fixes the doc syncer now that we don't have `.x` in the directories
(#48), per
#48 (comment)

It also makes an unrelated fix, so that my test works.

Test: #57,
https://github.com/pantsbuild/pantsbuild.org/actions/runs/7403672327/job/20143898054
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.

Proposal: skip the .x in URLs/dropdowns
2 participants