Usage
API Reference
Project
okflint is a compliance linter for OKF (Open Knowledge Format) documentary bases. It verifies the structure of Markdown files — frontmatter, links, types — against a YAML manifest declaring the base’s conventions.
Header
MarkdownLink
WikiLink
blank_code_spans()
build_file_index()
extract_headers()
extract_markdown_links()
extract_wikilinks()
parse_frontmatter()
BaseConfig
HygieneConfig
Manifest
ManifestError
ProfileConfig
RootConfig
SplitConfig
TypeConfig
load_manifest()
FileReport
analyze_file()
compute_stats()
get_okf_status()
run_audit()
Diagnostic
run_validate()
build_parser()
main()