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

Fix default scaladoc config, so that id doesn't break all scaladoc links #3041

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

KacperFKorban
Copy link
Member

Right now running the doc command with default arguments in scala-cli always produced broken scaladoc links, because the default regex for external mappings mapped every tasty file that contained 'scala' to use the scala-lang.org mapping. And since scala-cli uses '.scala-build' directory for placing tasty files, almost all links were broken.

Right now running the doc command with default arguments in scala-cli
always produced broken scaladoc links, because the default regex for
external mappings mapped every tasty file that contained 'scala' to use
the `scala-lang.org` mapping. And since scala-cli uses '.scala-build'
directory for placing tasty files, almost all links were broken.
@Gedochao
Copy link
Contributor

@KacperFKorban can you include an integration test for this?

@Gedochao Gedochao self-requested a review July 22, 2024 07:28
@Gedochao
Copy link
Contributor

cc @Florian3k

@Gedochao
Copy link
Contributor

Seems like it's failing on checks only.
Should be enought o re-run the scalafix task.

./mill -i '{__[],_,integration._}.fix'

Copy link
Contributor

@Gedochao Gedochao left a comment

Choose a reason for hiding this comment

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

LGTM

@Gedochao Gedochao merged commit 601e9f6 into VirtusLab:main Jul 22, 2024
75 checks passed
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