All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dotty.tools.scaladoc.renderers.MarkdownRenderer.scala Maven / Gradle / Ivy

There is a newer version: 3.6.0-RC1-bin-20240917-6e852d2-NIGHTLY
Show newest version
package dotty.tools.scaladoc
package renderers

import util.HTML._

class MarkdownRenderer(rootPackage: Member, members: Map[DRI, Member])(using ctx: DocContext)
  extends Renderer(rootPackage, members, extension = "md"):

  override def render(): Unit =
    renderResources()
    super.render()

  override def pageContent(page: Page, parents: Vector[Link]): AppliedTag =
    renderContent(page).content

  private def renderResources(): Seq[String] =
    allResources(Nil).flatMap(renderResource)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy