From 24212d3334069250da910a9cbcd1bf3ddeb3202a Mon Sep 17 00:00:00 2001 From: Enno <458526+ennru@users.noreply.github.com> Date: Mon, 1 Apr 2019 09:38:42 +0200 Subject: [PATCH] Add title and version to Scaladoc pages (#26632) --- project/Doc.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/project/Doc.scala b/project/Doc.scala index 40ad1a6e55..273bea2d43 100644 --- a/project/Doc.scala +++ b/project/Doc.scala @@ -45,7 +45,10 @@ object Scaladoc extends AutoPlugin { def scaladocOptions(ver: String, base: File): List[String] = { val urlString = GitHub.url(ver) + "/€{FILE_PATH}.scala" - val opts = List("-implicits", "-groups", "-doc-source-url", urlString, "-sourcepath", base.getAbsolutePath) + val opts = List("-implicits", "-groups", "-doc-source-url", urlString, "-sourcepath", base.getAbsolutePath, + "-doc-title", "Akka", + "-doc-version", ver + ) CliOptions.scaladocDiagramsEnabled.ifTrue("-diagrams").toList ::: opts }