class Documentable::DocPage::Primary::Language

Renders a Documentable::Primary object

Defined as

class Documentable::DocPage::Primary::Language is Documentable::DocPage

Generates the pod of a Documentable::Primary instance with kind set to Kind::Language.

Type Graph

Type relations for Documentable::DocPage::Primary::Language
perl6-type-graph Documentable::DocPage::Primary::Language Documentable::DocPage::Primary::Language Documentable::DocPage Documentable::DocPage Documentable::DocPage::Primary::Language->Documentable::DocPage

Expand above chart

Routines supplied by class Documentable::DocPage

Documentable::DocPage::Primary::Language inherits from class Documentable::DocPage, which provides the following routines:

(Documentable::DocPage) method render

Defined as

method render(| --> Hash{ ... }

It's an abstract method. It needs to return a Hash object following this format:

%(
    document => pod to be rendered as HTML,
    url      => URL assigned to this document
)

Returning the pod is necessary because we need to wrap it in a common HTML template (see Documentable::To::HTML::Wrapper).