summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Furlanetto <pedrofurla@gmail.com>2010-10-04 03:27:09 +0000
committerPedro Furlanetto <pedrofurla@gmail.com>2010-10-04 03:27:09 +0000
commitafea859ef64122f71525405625d0006150d87fb0 (patch)
treef13da8277561fc7bd5c9b4d955cef6f2f559e809
parenta03131199109b51b4a3051aa2c016d516bec6e36 (diff)
downloadscala-afea859ef64122f71525405625d0006150d87fb0.tar.gz
scala-afea859ef64122f71525405625d0006150d87fb0.tar.bz2
scala-afea859ef64122f71525405625d0006150d87fb0.zip
Authors taglet is back to docs.
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/page/Template.scala8
1 files changed, 8 insertions, 0 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 622d2cdc22..18d8a99622 100644
--- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
+++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala
@@ -339,6 +339,14 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage {
</ol></div>
else NodeSeq.Empty
}
+ { if(!comment.since.isEmpty && !isReduced)
+ <div class="block"><ol>authors
+ { val authors:List[scala.xml.NodeSeq]=for(body <- comment.authors) yield <li>{bodyToHtml(body)}</li>
+ authors.reduceLeft(_ ++ Text(", ") ++ _)
+ }
+ </ol></div>
+ else NodeSeq.Empty
+ }
{ if(!comment.see.isEmpty && !isReduced)
<div class="block"><ol>see also:
{ val seeXml:List[scala.xml.NodeSeq]=(for(see <- comment.see ) yield <li>{bodyToHtml(see)}</li> )