Skip to main content

compile_typst_site/
lib.rs

1//! Compile a site directory structure from Typst files to HTML.
2//!
3//! Currently, we use out-of-process calls for everything. Might stand to refactor to pure functions as core functionality? Hmm.
4//!
5//! Also, not really usable as a crate because we set up argument parsing to generate our config. Hmm.
6//!
7//! The `stable` module, if it exists, is for anything that abides by semantic versioning.
8//! The `internals` module is not guaranteed to follow semantic versioning---it is included for your convenience, but use it your own risk.
9//!
10//! Because `config` module sets everything up, it cannot assume logging is initialized.
11//! Also excepting `logging` itself, other modules do have the assumption that logging is initialized.
12
13pub mod internals;