summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-03-25 03:27:51 +0200
committerVlad Ureche <vlad.ureche@gmail.com>2012-03-25 03:27:51 +0200
commit0e15be42747a4a36983dcc292b762df6aa2ca91d (patch)
tree9698264d6eccc4b8130d402fd7bd086fa55d0bb9 /src/compiler
parentc0e9e75becead51d4317c5100f0b33eff62b6daa (diff)
downloadscala-0e15be42747a4a36983dcc292b762df6aa2ca91d.tar.gz
scala-0e15be42747a4a36983dcc292b762df6aa2ca91d.tar.bz2
scala-0e15be42747a4a36983dcc292b762df6aa2ca91d.zip
Scaladoc is now pointing to sources in github
For snapshots, it points to the exact commit, for releases it points to the tag ("v" + maven version). The link now opens in a different tab, as opening in the same frame is not compatible with github (the page doesn't load for some reason). Left the repo url in test/review untouched because it points to the root of all LAMP repos. But... is anyone still using that script?!?
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/page/Template.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
index 0c9c88c0f5..c8c5f1ec11 100644
--- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
@@ -389,7 +389,7 @@ class Template(universe: doc.Universe, tpl: DocTemplateEntity) extends HtmlPage
case dtpl: DocTemplateEntity if (isSelf && dtpl.sourceUrl.isDefined && dtpl.inSource.isDefined && !isReduced) =>
val (absFile, line) = dtpl.inSource.get
<dt>Source</dt>
- <dd>{ <a href={ dtpl.sourceUrl.get.toString }>{ Text(absFile.file.getName) }</a> }</dd>
+ <dd>{ <a href={ dtpl.sourceUrl.get.toString } target="_blank">{ Text(absFile.file.getName) }</a> }</dd>
case _ => NodeSeq.Empty
}