sokf-core 0.9.0

sokf-core holds the logic of the sokf command-line tool: it loads and validates Superdev Open Knowledge Format (SOKF) knowledge stores, and runs each sokf command. Unstable: its interface can change in any release.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! The `include` module handles generated content (format specification ยง9).
//! It finds the regions of a file, chooses the length and language tag of the
//! code fence around each file-form include, builds the include graph, and
//! works out the expected content of every generated block.

mod expand;
mod fence;
mod graph;
mod pairs;
mod region;

pub use expand::{
    DefinitionEntry, Expected, Fenced, expected, expected_for, path_link_label, render_definitions,
};
pub use graph::{includes_body, knowledge_of_additional};
pub(crate) use pairs::index_labels_as_written;
pub use pairs::{definition_pair, index_pair, labels_as_written, pairs};
pub use region::{Extraction, RegionError, extract, extract_lines};