Skip to content

Commit 9c5904d

Browse files
committed
Add 'shelf' command
Initial processing of the shelf.toml file. Build the books in the current_dir.
1 parent bd323fb commit 9c5904d

File tree

10 files changed

+376
-1
lines changed

10 files changed

+376
-1
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ shlex = "1.3.0"
3535
tempfile = "3.4.0"
3636
toml = "0.5.11" # Do not update, see https://github.com/rust-lang/mdBook/issues/2037
3737
topological-sort = "0.2.2"
38+
resolve-path = "0.1.0"
39+
git2 = "0.18.3"
3840

3941
# Watch feature
4042
notify = { version = "6.1.1", optional = true }

src/cmd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ pub mod command_prelude;
66
pub mod init;
77
#[cfg(feature = "serve")]
88
pub mod serve;
9+
pub mod shelf;
910
pub mod test;
1011
#[cfg(feature = "watch")]
1112
pub mod watch;

0 commit comments

Comments
 (0)