Skip to content

Commit 461884f

Browse files
committed
Add mdbook-preprocessor and mdbook-renderer
These are two new crates intended to support implementing preprocessors and renderers. Currently these stubs just have MDBOOK_VERSION, but future commits will migrate more code to these crates.
1 parent bc3399c commit 461884f

File tree

5 files changed

+48
-0
lines changed

5 files changed

+48
-0
lines changed

Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/mdbook-preprocessor/Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "mdbook-preprocessor"
3+
version = "0.5.0-alpha.1"
4+
description = "Library to assist implementing an mdBook preprocessor"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
8+
rust-version.workspace = true
9+
10+
[dependencies]
11+
mdbook-core.workspace = true
12+
13+
[lints]
14+
workspace = true

crates/mdbook-preprocessor/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//! Library to assist implementing an mdbook preprocessor.
2+
3+
pub use mdbook_core::MDBOOK_VERSION;

crates/mdbook-renderer/Cargo.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[package]
2+
name = "mdbook-renderer"
3+
version = "0.5.0-alpha.1"
4+
description = "Library to assist implementing an mdBook renderer"
5+
edition.workspace = true
6+
license.workspace = true
7+
repository.workspace = true
8+
rust-version.workspace = true
9+
10+
[dependencies]
11+
mdbook-core.workspace = true
12+
13+
[lints]
14+
workspace = true

crates/mdbook-renderer/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//! Library to assist implementing an mdbook renderer.
2+
3+
pub use mdbook_core::MDBOOK_VERSION;

0 commit comments

Comments
 (0)