2025-07-21 10:57:23 -07:00
|
|
|
//! The base support library for mdbook, intended for internal use only.
|
|
|
|
|
|
|
|
|
|
/// The current version of `mdbook`.
|
|
|
|
|
///
|
|
|
|
|
/// This is provided as a way for custom preprocessors and renderers to do
|
|
|
|
|
/// compatibility checks.
|
|
|
|
|
pub const MDBOOK_VERSION: &str = env!("CARGO_PKG_VERSION");
|
2025-07-21 11:37:46 -07:00
|
|
|
|
2025-07-21 14:47:11 -07:00
|
|
|
pub mod book;
|
2025-07-21 13:26:57 -07:00
|
|
|
pub mod config;
|
|
|
|
|
pub mod utils;
|
|
|
|
|
|
2025-07-21 11:37:46 -07:00
|
|
|
/// The error types used in mdbook.
|
|
|
|
|
pub mod errors {
|
|
|
|
|
pub use anyhow::{Error, Result};
|
|
|
|
|
}
|