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

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

The 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