Skip to content

Commit

Permalink
Add version browsing for nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkingBad committed Aug 3, 2021
1 parent 3842ae1 commit dd63efb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
Docs
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="api/index.html">
API
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/lampepfl/dotty">
<i class="fab fa-github"></i>
Expand Down
5 changes: 4 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,10 @@ object Build {
scalaSrcLink(stdLibVersion, srcManaged(dottyNonBootstrappedVersion, "scala") + "="),
dottySrcLink(referenceVersion, srcManaged(dottyNonBootstrappedVersion, "dotty") + "=", "#library/src"),
dottySrcLink(referenceVersion),
) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets ++ Seq("-Ygenerate-inkuire")
"-Ygenerate-inkuire",
"-versions-dictionary-url",
"https://scala-lang.org/api/versions.json"
) ++ scalacOptionsDocSettings ++ revision ++ params ++ targets
import _root_.scala.sys.process._
val escapedCmd = cmd.map(arg => if(arg.contains(" ")) s""""$arg"""" else arg)
Def.task {
Expand Down

0 comments on commit dd63efb

Please sign in to comment.