Skip to content

Commit

Permalink
fix: generation of plantuml's diagrams in book
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSherbinin committed Jun 2, 2024
1 parent 39f2158 commit 36cc603
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
19 changes: 10 additions & 9 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title = "Rustemo book"

[output.html]
additional-css = ["./mdbook-admonish.css", "theme/pagetoc.css"] #, "style.css"]
additional-js = ["theme/pagetoc.js"] # , "sidebar.js"]
additional-js = ["theme/pagetoc.js"] # , "sidebar.js"]

# [output.pandoc.profile.pdf]
# output-file = "Rustemo.pdf"
Expand All @@ -36,24 +36,25 @@ warning-policy = "error"
[preprocessor]

[preprocessor.theme]
turn-off = true # Comment this line and run `mdbook build` when theme is changed
pagetoc = true
pagetoc-width = "13%"
content-max-width = "85%"
pagetoc-fontsize = "14.5px"
sidebar-width = "300px"
turn-off = true # Comment this line and run `mdbook build` when theme is changed
pagetoc = true
pagetoc-width = "13%"
content-max-width = "85%"
pagetoc-fontsize = "14.5px"
sidebar-width = "300px"


[preprocessor.admonish]
command = "mdbook-admonish"
assets_version = "3.0.1" # do not edit: managed by `mdbook-admonish install`
assets_version = "3.0.1" # do not edit: managed by `mdbook-admonish install`

# [preprocessor.bib]
# bibliography = "references.bib"

[preprocessor.plantuml]
plantuml-cmd = "plantuml"

[preprocessor.graphviz]
after = ["links"]
output-to-file = true # defaults to false, change to true to create SVG files
# instead of rendering them inline
# instead of rendering them inline
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36cc603

Please sign in to comment.