-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Doctool: Extra "api" directory under target #11412
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
@romanowski Maybe we should adjust our directory structure to match old scaladoc. If that is the case, we should move our resources inside |
Maybe you could use a reserve word like |
@eed3si9n can you clarify what exactly is the problem with having two |
Scaladoc is meant to be published to the web. Whenever possible we should maintain the backward compatibility of the URL since these pages are often linked from Stackoverflow or documentations. |
@romanowski what's our current position on full backwards link compat with old Scaladoc? |
did #13130 affect this? |
I guess #13130 should have "fixed" the issue (I can confirm that and close it tomorrow). At least as long as someone doesn't run the scaladoc with |
I just checked it and indeed, the default behaviour now is to skip the |
@BarkingBad Is this issue up-to-date? |
Thank you for the investigation @Dedelweiss! I am closing the issue. |
Compiler version
3.0.0-M4-bin-20210212-0273336-NIGHTLY
Minimized code
Then run
doc
from sbt 1.5.0-M2.Output
It creates
target/scala-3.0.0-M4/api/api
directory.For example
target/scala-3.0.0-M4/api/api/foo/A$.html
.Expectation
I expect HTML files to be under
target/scala-3.0.0-M4/api/
directory. Note that the termapi
is set by sbt asCompile/doc/target
.See the output of Scala 2.x's output - https://scopt.github.io/scopt/4.0.0/api/index.html
Directly under
api/
it would create directory names corresponding to the package likescopt
, and https://scopt.github.io/scopt/4.0.0/api/scopt/index.html would list the classes underscopt
package.The text was updated successfully, but these errors were encountered: