Skip to main content

Module corpus

Module corpus 

Source
Expand description

Load and walk version-controlled markdown canned responses.

Structsยง

CannedResponse
One canned response derived from a markdown file under the corpus.

Functionsยง

default_corpus_dir
Default corpus directory relative to the current working directory / repo root.
first_heading ๐Ÿ”’
load_response
Load a single markdown file into a CannedResponse.
parse_tags ๐Ÿ”’
split_front_matter ๐Ÿ”’
Minimal YAML front-matter parser for key: value and simple list tags.
walk_responses
Walk root for *.md files and load each as a CannedResponse.