mix brix.gen.version (Brix v0.1.1)

Copy Markdown View Source

Creates a new version of a Brix page.

mix brix.gen.version SLUG [--content-dir PATH] [--copy] [--from VER]
                          [--publish]

Options

  • --copy — copies sections from the source version
  • --from — source version to copy from (default: published or latest)
  • --publish — updates page.yml's published_version to the new timestamp

Examples

mix brix.gen.version home --copy --publish
mix brix.gen.version contact --copy --from 20260101T000000Z