Skip to main content

sokf_core/include/
mod.rs

1//! The `include` module handles generated content (format specification ยง9).
2//! It finds the regions of a file, chooses the length and language tag of the
3//! code fence around each file-form include, builds the include graph, and
4//! works out the expected content of every generated block.
5
6mod expand;
7mod fence;
8mod graph;
9mod pairs;
10mod region;
11
12pub use expand::{
13    DefinitionEntry, Expected, Fenced, expected, expected_for, path_link_label, render_definitions,
14};
15pub use graph::{includes_body, knowledge_of_additional};
16pub(crate) use pairs::index_labels_as_written;
17pub use pairs::{definition_pair, index_pair, labels_as_written, pairs};
18pub use region::{Extraction, RegionError, extract, extract_lines};