scriptorium/parser
Parsing reads the input files into the database.
Functions
pub fn parse_menu(
db: Database,
file: String,
) -> Result(Database, ParseError)
Parse the menu from the given file into the database.
pub fn parse_pages(
db: Database,
path: String,
) -> Result(Database, ParseError)
Parse pages from the given path into the database.
pub fn parse_posts(
db: Database,
path: String,
) -> Result(Database, ParseError)
Parse posts from the given path into the database.