-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Scala3doc: fix issues with loading stdlib #10340
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
Conversation
0875367
to
7d9e02a
Compare
7d9e02a
to
674a589
Compare
Avoid Tasty errors, and allows us to use wiki syntax for the project.
@@ -1506,15 +1508,24 @@ object Build { | |||
(`scala3-interfaces`/Compile/products).value, | |||
(`tasty-core-bootstrapped`/Compile/products).value, | |||
(`scala3-library-bootstrapped`/Compile/products).value, | |||
// TODO we can't load stdlib from Tasty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO we should leave this here until we will be able to generate stdlib togeter with rest of Scala3 jars
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a similar comment above, where we define generateScala3StdlibDocumentation
.
).flatten | ||
|
||
val roots = joinProducts(dottyJars) | ||
|
||
if (dottyJars.isEmpty) Def.task { streams.value.log.error("Dotty lib wasn't found") } | ||
else generateDocumentation(roots, "Scala 3", "scala3", "-p scala3doc/scala3-docs --projectLogo scala3doc/scala3-docs/logo.svg --revision master") | ||
}.value, | ||
|
||
generateScala3StdlibDocumentation:= Def.taskDyn { | ||
val dottyJars: Seq[java.io.File] = Seq( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it should be stdLibJars
No description provided.