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

Use URI to compute Scaladoc URI [ci: last-only] #10502

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

som-snytt
Copy link
Contributor

Fixes scala/bug#12846

toUri will perform escapes, but URI constructor will not.

Also clean up some imports. Avoid collection._. Prefer raw"".r for constructing a regex.

@scala-jenkins scala-jenkins added this to the 2.13.13 milestone Aug 16, 2023
@som-snytt
Copy link
Contributor Author

som-snytt commented Aug 16, 2023

That test seems to succeed trivially, because of course it does.

(I tested manually.)

@som-snytt som-snytt marked this pull request as ready for review August 16, 2023 21:35
@som-snytt som-snytt modified the milestones: 2.13.13, 2.13.12 Aug 16, 2023
@som-snytt
Copy link
Contributor Author

Adjusted the milestone because it is a regression, and because of the terribly important adjustments to imports in the code base.

@som-snytt
Copy link
Contributor Author

Learned the minimum (barely) about ScaladocModelTest to output the computed URL in the test.

Copy link
Member

@lrytz lrytz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dankeschön!

@lrytz lrytz merged commit 3b154a0 into scala:2.13.x Aug 18, 2023
3 checks passed
@som-snytt som-snytt deleted the issue/12846-scaladoc-unicode branch August 18, 2023 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants