我想将ScalaDoc设置为从SBT链接到标准库.我正在使用0.12.4,但我很快就会切换到0.13.此外,我想通过使用0.13的支持使设置变得简单.
最好的选择是自动映射0.13autoAPIMappings:
//Requires SBT 0.13. However, automatic mapping does not work for the standard library.
autoAPIMappings := true
Run Code Online (Sandbox Code Playgroud)
本scala-library应该支持它,因为它的POM套info.apiURL,并且这就是SBT读取.
但是,这不起作用.既没有String也没有GenTraversable超链接.last表明没有选项添加到scaladoc参数.
所以:
autoAPIMappings办?info.apiUrl.想到任何包裹?谷歌似乎没有帮助,如何查询具有某些属性的maven包,甚至如何在poms上进行全文搜索并不明显.find ~/.m2 ~/.ivy2 -name '*.pom' -type f|xargs grep info.apiUrl在我的2G本地缓存中找不到任何结果.(这个问题似乎是SBT Scaladoc配置的重复,但是它用于更新配置和不同的SBT版本,所以问题是不同的;此外,现有的答案显示了一个弃用的解决方案).