From afea859ef64122f71525405625d0006150d87fb0 Mon Sep 17 00:00:00 2001 From: Pedro Furlanetto Date: Mon, 4 Oct 2010 03:27:09 +0000 Subject: Authors taglet is back to docs. --- src/compiler/scala/tools/nsc/doc/html/page/Template.scala | 8 ++++++++ 1 file changed, 8 insertions(+) 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 { else NodeSeq.Empty } + { if(!comment.since.isEmpty && !isReduced) +
    authors + { val authors:List[scala.xml.NodeSeq]=for(body <- comment.authors) yield
  1. {bodyToHtml(body)}
  2. + authors.reduceLeft(_ ++ Text(", ") ++ _) + } +
+ else NodeSeq.Empty + } { if(!comment.see.isEmpty && !isReduced)
    see also: { val seeXml:List[scala.xml.NodeSeq]=(for(see <- comment.see ) yield
  1. {bodyToHtml(see)}
  2. ) -- cgit v1.2.3