Cherry.Machine.Mirror (cherry v0.6.1)

Copy Markdown View Source

One markdown mirror: the index.md twin a route directory carries alongside its index.html (DESIGN.md §6), so agents read content without scraping HTML.

unlisted? rides along from the mirrored page — an unlisted CV's mirror exists at its URL but stays out of llms.txt.

Summary

Functions

The emit-ready page for a mirror.

Types

t()

@type t() :: %Cherry.Machine.Mirror{
  markdown: String.t(),
  path: String.t(),
  unlisted?: boolean()
}

Functions

to_page(mirror)

@spec to_page(t()) :: Cherry.Content.Page.t()

The emit-ready page for a mirror.