com-lihaoyi / mill

Mill is a fast JVM build tool that supports Java and Scala. 2-4x faster than Gradle and 5-10x faster than Maven for common workflows, Mill aims to make your project’s build process performant, maintainable, and flexible
https://mill-build.org/
MIT License
2.19k stars 347 forks source link

Dotty's Scaladoc (via docJar) isn't valid for javadoc.io #1386

Open Iltotore opened 3 years ago

Iltotore commented 3 years ago

Mill version: 0.9.8

Mill generates the html scaladoc pages inside a subdirectory (api) but javadoc.io, the service used by Scaladex, requires an index.html to be at the root of the scaladoc jar.

A solution could be to add an index.html redirecting to api/index.html.

lefou commented 3 years ago

Do you have a template for such an index.html which works for e.g. javadoc.io?