Packages

Elixir library that gives you changelog features based on markdown files.

Current section

Files

Jump to
changix lib changix entry.ex
Raw

lib/changix/entry.ex

defmodule Changix.Entry do
@moduledoc """
Struct for a single changelog entry (ie. a single changelog file).
"""
defstruct [
:changed_at,
:path,
:kind,
:kind_label,
:title,
:content,
:summary_html,
:full_html
]
@doc """
Returns a list of required header fields.
"""
def required_headers, do: ~w(changed_at kind path)a
end