Module

PuduLangDocgen.Site.Gallery

View source

Catalog pages of extensions shown as cards

Types

Name Description
Rendered The rendered page of a catalog

Functions

Name Description
render A catalog page: `title`, an optional `description`, and `items`, each with a `name` and any of `description`, `type`, `author`, `version`, `license`, `thumbnail`, `homepage`, `repository.url`, and `usage` entries.

render

fn render(value: &Docgen.Meta, context: &Phrase.Scope) -> Result[Rendered, Str]

A catalog page: title, an optional description, and items, each with a name and any of description, type, author, version, license, thumbnail, homepage, repository.url, and usage entries.

Parameters

value
&Docgen.Meta
context
&Phrase.Scope

Returns

Result[Rendered, Str]

View source

Constants

Name Description
MARKER Marker on the first line of a catalog file.

MARKER

const MARKER: Str = "YamlMime:Dashboard"

Marker on the first line of a catalog file.

Type

Str

View source