Skip to content

Commit

Permalink
CI xtask -> Install mdbook-plantuml instead of mdbook-mermaid for dis…
Browse files Browse the repository at this point in the history
…playing the book.
  • Loading branch information
mbfm committed Feb 2, 2024
1 parent 24b0a67 commit 27bcd39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ci/xtask/src/core/dependency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub enum Crate {
CargoSbom,
Cross,
Mdbook,
MdbookMermaid,
MdbookPlantuml,
Trunk,
}
impl Crate {
Expand All @@ -14,7 +14,7 @@ impl Crate {
Crate::CargoSbom => "cargo-sbom",
Crate::Cross => "cross",
Crate::Mdbook => "mdbook",
Crate::MdbookMermaid => "mdbook-mermaid",
Crate::MdbookPlantuml => "mdbook-plantuml",
Crate::Trunk => "trunk",
}.to_string()
}
Expand Down
2 changes: 1 addition & 1 deletion .ci/xtask/src/tasks/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pub mod book {
#[tracing::instrument]
pub fn serve() -> crate::Result {
util::install_crate(Crate::Mdbook)?;
util::install_crate(Crate::MdbookMermaid)?;
util::install_crate(Crate::MdbookPlantuml)?;

Command::new("mdbook")
.arg("serve")
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ cargo-deny.version = "0.14.3"
cargo-sbom.version = "0.8.4"
cross.version = "0.2.5"
mdbook.version = "0.4.36"
mdbook-mermaid.version = "0.13.0"
mdbook-plantuml.version = "0.8.0"
trunk.version = "0.18.3"


Expand Down

0 comments on commit 27bcd39

Please sign in to comment.