summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Voynov <37143421+Andrew15-5@users.noreply.github.com>2025-06-19 22:20:15 +0300
committerGitHub <noreply@github.com>2025-06-19 19:20:15 +0000
commit4588595792cec196298446c47c99c35e323b663e (patch)
treea6e67ddcdd6266148599036f81dda7dc7d466c0d
parent0bc68df2a9a87ca7e36e34dab56b07c666d64760 (diff)
Prefer `.yaml` over `.yml` in the docs (#6436)
-rw-r--r--crates/typst-library/src/model/bibliography.rs4
-rw-r--r--docs/changelog/0.9.0.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst-library/src/model/bibliography.rs b/crates/typst-library/src/model/bibliography.rs
index 7bfacfc6..8056d4ab 100644
--- a/crates/typst-library/src/model/bibliography.rs
+++ b/crates/typst-library/src/model/bibliography.rs
@@ -90,7 +90,7 @@ use crate::World;
/// ```
#[elem(Locatable, Synthesize, Show, ShowSet, LocalName)]
pub struct BibliographyElem {
- /// One or multiple paths to or raw bytes for Hayagriva `.yml` and/or
+ /// One or multiple paths to or raw bytes for Hayagriva `.yaml` and/or
/// BibLaTeX `.bib` files.
///
/// This can be a:
@@ -385,7 +385,7 @@ fn decode_library(loaded: &Loaded) -> SourceResult<Library> {
.within(loaded),
_ => bail!(
loaded.source.span,
- "unknown bibliography format (must be .yml/.yaml or .bib)"
+ "unknown bibliography format (must be .yaml/.yml or .bib)"
),
}
} else {
diff --git a/docs/changelog/0.9.0.md b/docs/changelog/0.9.0.md
index 0cf3c1bd..0a4ac826 100644
--- a/docs/changelog/0.9.0.md
+++ b/docs/changelog/0.9.0.md
@@ -21,7 +21,7 @@ description: Changes in Typst 0.9.0
- Added [`full`]($bibliography.full) argument to bibliography function to print
the full bibliography even if not all works were cited
- Bibliography entries can now contain Typst equations (wrapped in `[$..$]` just
- like in markup), this works both for `.yml` and `.bib` bibliographies
+ like in markup), this works both for `.yaml` and `.bib` bibliographies
- The hayagriva YAML format was improved. See its
[changelog](https://github.com/typst/hayagriva/blob/main/CHANGELOG.md) for
more details. **(Breaking change)**