summaryrefslogtreecommitdiff
path: root/crates/typst-docs/src
diff options
context:
space:
mode:
authorLaurenz <ritters_werth@outlook.com>2023-12-18 12:18:41 +0100
committerGitHub <noreply@github.com>2023-12-18 12:18:41 +0100
commit22ba6825db3b82e0b0f83ef6052f17289893e385 (patch)
treecf69e7ac0eeb49f13ffb0b81e36461e07cb766ba /crates/typst-docs/src
parent356bdeba18153efd4209657182971e22bdaf4db2 (diff)
Key/Value data from CLI (#2894)
Diffstat (limited to 'crates/typst-docs/src')
-rw-r--r--crates/typst-docs/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-docs/src/lib.rs b/crates/typst-docs/src/lib.rs
index 444dda32..ad40b987 100644
--- a/crates/typst-docs/src/lib.rs
+++ b/crates/typst-docs/src/lib.rs
@@ -55,7 +55,7 @@ static GROUPS: Lazy<Vec<GroupData>> = Lazy::new(|| {
});
static LIBRARY: Lazy<Prehashed<Library>> = Lazy::new(|| {
- let mut lib = Library::build();
+ let mut lib = Library::default();
lib.styles
.set(PageElem::set_width(Smart::Custom(Abs::pt(240.0).into())));
lib.styles.set(PageElem::set_height(Smart::Auto));