sigildocs

(sigil publish assembly)

(sigil publish assembly) - Content Assembly

Assembly transforms scanned content items into organized structures. This runs after scanning (phase 1) but before rendering (phase 2).

Assembly handles:

  • Path finalization (applying custom path handlers)
  • Navigation structure generation from frontmatter
  • Draft filtering
  • Content filtering and transformation

Exports

Construct a assembly-result struct.

Test if a value is a assembly-result struct.

Get the items field of a assembly-result struct.

Get the navigation field of a assembly-result struct.

Get the ref-index field of a assembly-result struct.

Get the collections field of a assembly-result struct.

Get the collections field of a assembly-result struct.

collectionprocedure

Construct a collection struct.

collection?procedure

Test if a value is a collection struct.

Get the name field of a collection struct.

Get the match field of a collection struct.

Get the output field of a collection struct.

Get the sort-by field of a collection struct.

Get the sort-order field of a collection struct.

Get the template field of a collection struct.

Default template for collection index pages.

Returns SXML body content for the collection listing. The theme wraps this in the full page structure.

Default template for collection index pages.

Returns SXML body content for the collection listing. The theme wraps this in the full page structure.

ref-entryprocedure

Construct a ref-entry struct.

ref-entry?procedure

Test if a value is a ref-entry struct.

ref-entry-idprocedure

Get the id field of a ref-entry struct.

Get the namespace field of a ref-entry struct.

Get the path field of a ref-entry struct.

Get the anchor field of a ref-entry struct.

Get the title field of a ref-entry struct.

Get the items field of a nav-group struct.

Get the order field of a nav-item struct.

path-handlerprocedure

Construct a path-handler struct.

path-handler?procedure

Test if a value is a path-handler struct.

Get the match field of a path-handler struct.

Get the compute field of a path-handler struct.