Vibe.Presentation.Document (vibe v0.2.1)

Copy Markdown View Source

Renderer-neutral presentation document shared by plugins and surfaces.

Summary

Types

t()

@type t() :: %Vibe.Presentation.Document{
  description: String.t() | nil,
  metadata: map(),
  sections: [Vibe.Presentation.Section.t()],
  title: String.t() | nil,
  version: pos_integer()
}

Functions

empty()

@spec empty() :: t()

new(document)

@spec new(t() | keyword() | map() | nil) :: t()