9 Commits

Author SHA1 Message Date
Zedd Serjeant
d92a72d976 Improve clarity on type documentation
- Remove confusing example
- Don't refer to `none` and `auto` as "special", they simply do not have
  a bound name
- Be more clear when referencing $content.func
2025-04-05 13:05:04 +10:00
Zedd Serjeant
b71abc415a Document exceptions and alternatives to using type
`none` and `auto` interact differently with `type` than other types.
This adds documentation and examples making that clear. Further, it
explains when it is better to use other interrogation functions in Typst
Closes #2177
2025-03-08 19:33:23 +10:00
Laurenz
50ccd7d60f
Scope deprecations (#5798) 2025-02-04 09:38:31 +00:00
Laurenz
eee903b0f8
Refactor Scope (#5797) 2025-02-03 16:04:54 +00:00
Laurenz
a1f263862c
Change type repr to short name (#5788) 2025-01-31 09:56:49 +00:00
Laurenz
ed67220e4b
Remove deprecated things and compatibility behaviours (#5591) 2024-12-17 09:25:15 +00:00
Laurenz
008b59839f Add some more spans 2024-12-04 10:12:07 +01:00
Abdul-Rahman Sibahi
b969c01b28
Replace once_cell's Lazy as much as possible (#4617)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00