Skip to content

Fix incorrect comment parser used in nightly scaladoc #18523

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

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

jchyb
Copy link
Contributor

@jchyb jchyb commented Sep 6, 2023

Previously a sourceDirectory sbt task would resolve to library/src/main which would usually be correct, but in the case of scala3-library, we have the sources directly under library/src. This lead to the fact that the incorrectly set -comment-syntax option could never match against the prefix for markdown, and would use the wiki syntax for all scala3-library sources.
Fixes #18511

Previously a sourceDirectory sbt task would resolve to
"library/src/main" which usually would be correct, but in the case of
the scala 3 library, we have the sources directly under `library/src`
This lead to the fact that the incorrectly set `-comment-syntax` option
could never match against the prefix for markdown, and would use the
wiki syntax for all scala3-library sources.
@nicolasstucki nicolasstucki merged commit e2b64e9 into scala:main Sep 7, 2023
@Kordyjan Kordyjan added this to the 3.4.0 milestone Dec 20, 2023
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.

Broken markdown display in scaladoc
3 participants