Files
fil/packages/elixir/lib/kreuzberg/content_layer.ex

34 lines
995 B
Elixir
Raw Normal View History

2026-06-01 23:40:55 +02:00
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.ContentLayer do
@moduledoc """
Content layer classification for document nodes.
Replaces separate body/furniture arrays with per-node granularity.
"""
@typedoc "Content layer classification for document nodes."
@type t :: :body | :header | :footer | :footnote
@body :body
@header :header
@footer :footer
@footnote :footnote
@doc "Main document body content."
@spec body() :: t()
def body, do: @body
@doc "Page/section header (running header)."
@spec header() :: t()
def header, do: @header
@doc "Page/section footer (running footer)."
@spec footer() :: t()
def footer, do: @footer
@doc "Footnote content."
@spec footnote() :: t()
def footnote, do: @footnote
end