summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Cargo.toml1
-rw-r--r--docs/src/lib.rs3
-rw-r--r--docs/src/model.rs1
3 files changed, 0 insertions, 5 deletions
diff --git a/docs/Cargo.toml b/docs/Cargo.toml
index c24ec02f..b2bfcd43 100644
--- a/docs/Cargo.toml
+++ b/docs/Cargo.toml
@@ -31,7 +31,6 @@ serde = { workspace = true }
serde_yaml = { workspace = true }
syntect = { workspace = true, features = ["html"] }
typed-arena = { workspace = true }
-unicode_names2 = { workspace = true }
unscanny = { workspace = true }
yaml-front-matter = { workspace = true }
clap = { workspace = true, optional = true }
diff --git a/docs/src/lib.rs b/docs/src/lib.rs
index 3856b1be..53221381 100644
--- a/docs/src/lib.rs
+++ b/docs/src/lib.rs
@@ -11,7 +11,6 @@ pub use self::model::*;
use comemo::Prehashed;
use ecow::{eco_format, EcoString};
-use heck::ToTitleCase;
use once_cell::sync::Lazy;
use serde::Deserialize;
use serde_yaml as yaml;
@@ -663,8 +662,6 @@ fn symbols_model(resolver: &dyn Resolver, group: &GroupData) -> SymbolsModel {
math_shorthand: shorthand(typst::syntax::ast::Shorthand::MATH_LIST),
codepoint: c as u32,
accent: typst::symbols::Symbol::combining_accent(c).is_some(),
- unicode_name: unicode_names2::name(c)
- .map(|s| s.to_string().to_title_case().into()),
alternates: symbol
.variants()
.filter(|(other, _)| other != &variant)
diff --git a/docs/src/model.rs b/docs/src/model.rs
index 1564ef2f..a4416c3d 100644
--- a/docs/src/model.rs
+++ b/docs/src/model.rs
@@ -159,7 +159,6 @@ pub struct SymbolModel {
pub name: EcoString,
pub codepoint: u32,
pub accent: bool,
- pub unicode_name: Option<EcoString>,
pub alternates: Vec<EcoString>,
pub markup_shorthand: Option<&'static str>,
pub math_shorthand: Option<&'static str>,