Class: Giblish::PdfLayoutConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/giblish/layout_config/pdf_layout_config.rb

Overview

AIDEV-NOTE: Builder for PDF layout configuration following established provider pattern

Class Method Summary collapse

Class Method Details

.build(resource_paths) ⇒ LayoutConfigResult

Builds complete PDF layout configuration.

Parameters:

  • resource_paths (ResourcePaths)

    Resolved paths for resources, styles, and fonts

Returns:



41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/giblish/layout_config/pdf_layout_config.rb', line 41

def self.build(resource_paths)
  post_builders = build_post_builders
  docattr_providers = build_docattr_providers(resource_paths, post_builders)

  LayoutConfigResult.new(
    pre_builders: [],
    post_builders: post_builders,
    adoc_extensions: {},
    adoc_api_opts: {backend: "pdf"},
    docattr_providers: docattr_providers
  )
end