From 6805740e20ff2d46b966c3c8c789c94f8d7db049 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 21 Jul 2025 18:06:49 -0700 Subject: [PATCH] Add mdbook-html This new crate will hold the HTML renderer and related front-end parts. --- Cargo.lock | 4 ++++ Cargo.toml | 1 + crates/mdbook-html/Cargo.toml | 13 +++++++++++++ crates/mdbook-html/src/lib.rs | 1 + 4 files changed, 19 insertions(+) create mode 100644 crates/mdbook-html/Cargo.toml create mode 100644 crates/mdbook-html/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 2a5589f0..c75a93ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1312,6 +1312,10 @@ dependencies = [ "toml", ] +[[package]] +name = "mdbook-html" +version = "0.5.0-alpha.1" + [[package]] name = "mdbook-markdown" version = "0.5.0-alpha.1" diff --git a/Cargo.toml b/Cargo.toml index b4cc16fd..6d26730a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,6 +24,7 @@ rust-version = "1.85.0" # Keep in sync with installation.md and .github/workflow anyhow = "1.0.98" log = "0.4.27" mdbook-core = { path = "crates/mdbook-core" } +mdbook-html = { path = "crates/mdbook-html" } mdbook-markdown = { path = "crates/mdbook-markdown" } mdbook-preprocessor = { path = "crates/mdbook-preprocessor" } mdbook-renderer = { path = "crates/mdbook-renderer" } diff --git a/crates/mdbook-html/Cargo.toml b/crates/mdbook-html/Cargo.toml new file mode 100644 index 00000000..16dec7bf --- /dev/null +++ b/crates/mdbook-html/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "mdbook-html" +version = "0.5.0-alpha.1" +description = "mdBook HTML renderer" +edition.workspace = true +license.workspace = true +repository.workspace = true +rust-version.workspace = true + +[dependencies] + +[lints] +workspace = true diff --git a/crates/mdbook-html/src/lib.rs b/crates/mdbook-html/src/lib.rs new file mode 100644 index 00000000..08c7aef0 --- /dev/null +++ b/crates/mdbook-html/src/lib.rs @@ -0,0 +1 @@ +//! mdBook HTML renderer.