summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Cargo.toml7
-rw-r--r--docs/src/model.rs1
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/Cargo.toml b/docs/Cargo.toml
index dbae0b77..a24ee254 100644
--- a/docs/Cargo.toml
+++ b/docs/Cargo.toml
@@ -19,20 +19,19 @@ cli = ["clap", "typst-render", "serde_json"]
typst = { workspace = true }
typst-assets = { workspace = true, features = ["fonts"] }
typst-dev-assets = { workspace = true }
-comemo = { workspace = true }
+clap = { workspace = true, optional = true }
ecow = { workspace = true }
heck = { workspace = true }
once_cell = { workspace = true }
pulldown-cmark = { workspace = true }
serde = { workspace = true }
+serde_json = { workspace = true, optional = true }
serde_yaml = { workspace = true }
syntect = { workspace = true, features = ["html"] }
typed-arena = { workspace = true }
+typst-render = { workspace = true, optional = true }
unscanny = { workspace = true }
yaml-front-matter = { workspace = true }
-clap = { workspace = true, optional = true }
-typst-render = { workspace = true, optional = true }
-serde_json = { workspace = true, optional = true }
[lints]
workspace = true
diff --git a/docs/src/model.rs b/docs/src/model.rs
index a4416c3d..b222322a 100644
--- a/docs/src/model.rs
+++ b/docs/src/model.rs
@@ -49,6 +49,7 @@ impl OutlineItem {
#[derive(Debug, Serialize)]
#[serde(rename_all = "camelCase")]
#[serde(tag = "kind", content = "content")]
+#[allow(clippy::large_enum_variant)]
pub enum BodyModel {
Html(Html),
Category(CategoryModel),