Skip to main content

Crate weave_content

Crate weave_content 

Source

Modules§

build_cache
cache
domain
Domain types for the OSINT case graph.
entity
html
Static HTML generator for case and entity pages.
nulid_gen
output
parser
registry
relationship
tags
timeline
verifier
writeback

Functions§

build_case_output
Build a CaseOutput from a case file path. Handles parsing and ID writeback.
build_case_output_tracked
Build a CaseOutput from a case file path, tracking which entity files have already been written back. This avoids re-reading entity files from disk when multiple cases reference the same shared entity.
collect_referenced_registry_entities
Collect registry entities referenced by relationships in this case.
load_registry
Load entity registry from content root. Returns empty registry if no entity dirs exist.
load_tag_registry
Load tag registry from content root. Returns empty registry if no tags.yaml exists.
parse_full
Parse a case file fully: front matter, entities, relationships, timeline. Returns the parsed case, inline entities, and relationships (including NEXT from timeline).
resolve_case_files
Resolve case file paths from path argument. If path is a file, returns just that file. If path is a directory (or None), auto-discovers cases/**/*.md.
resolve_content_root
Resolve the content root directory.