Cherry.CV.Settings (cherry v0.2.0)

Copy Markdown View Source

CV publication settings from portfolio.yaml (DESIGN.md §4).

Visibility is the static-site take on discretion: :public is linked everywhere; :unlisted builds the page but keeps it out of nav and sitemap with noindex — share the URL without announcing a job hunt; :off emits nothing.

Summary

Functions

Validates the cv: block of portfolio.yaml.

Types

t()

@type t() :: %Cherry.CV.Settings{visibility: visibility()}

visibility()

@type visibility() :: :public | :unlisted | :off

Functions

validate(value)

@spec validate(term()) :: {:ok, t()} | {:error, String.t()}

Validates the cv: block of portfolio.yaml.