-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Nightly docs are missing Scala 3 parts of standard library #17964
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
Comments
Background: After #17526 |
I attempted to resolve this by adding val dottyJars: Seq[java.io.File] = Seq(
(`stdlib-bootstrapped`/Compile/products).value,
(`scala3-interfaces`/Compile/products).value,
(`tasty-core-bootstrapped`/Compile/products).value,
+ (`scala3-library-bootstrapped`/Compile/products).value,
).flatten Seq(
s"out/bootstrap/stdlib-bootstrapped/scala-$version-bin-SNAPSHOT-nonbootstrapped/classes",
s"tmp/interfaces/target/classes",
s"out/bootstrap/tasty-core-bootstrapped/scala-$version-bin-SNAPSHOT-nonbootstrapped/classes",
+ s"out/bootstrap/scala3-library-bootstrapped/scala-$version-bin-SNAPSHOT-nonbootstrapped/classes",
) But that fails with the following error after running scaladoc:
|
@nicolasstucki I was told that you are currently working on some things related to tasty and stdlib-bootstrapped. Do you have any ideas about how to proceed with this? |
What I am working on is generating TASTy for the Scala 2 stdlib. What you seem to be missing the Scala 3 library. Adding |
I see what happened. The docs are consuming the artifacts of Now, to fix this issue we have two alternatives
We need to get to (2) at some point. The question is if this is simple or if we should have a quick patch (1) to make the documentation work while we figure out the details. I will open a PR for (1) and we can merge it if needed. |
This adds a temporary workaround (`stdlib-bootsrapped-legacy`) to be able to generate documentation for the full standard library. In the future, the documentation will be generated from `stdlib-bootsrapped` and `scala3-library-bootsrapped` combined. Fixes scala#17964
This adds a temporary workaround (`stdlib-bootstrapped-legacy`) to be able to generate documentation for the full standard library. In the future, the documentation will be generated from `stdlib-bootstrapped` and `scala3-library-bootstrapped` combined. Fixes #17964 Fixes #17621 Partially reverts #17526
Nightly docs https://dotty.epfl.ch/api/index.html are missing Scala 3 additions to stdlib (
compiletime
,deriving
,quoted
,Tuple
,CanEqual
,CanThrow
etc)Bisect points to #17526
The text was updated successfully, but these errors were encountered: