mirror of
https://github.com/typst/typst
synced 2025-06-14 16:16:24 +08:00
Make a more descriptive definition of module
(#6380)
This commit is contained in:
parent
5d13b35458
commit
5d34d54df4
@ -7,9 +7,10 @@ use typst_syntax::FileId;
|
||||
use crate::diag::{bail, DeprecationSink, StrResult};
|
||||
use crate::foundations::{repr, ty, Content, Scope, Value};
|
||||
|
||||
/// A module of definitions.
|
||||
/// A collection of variables and functions that are commonly related to
|
||||
/// a single theme.
|
||||
///
|
||||
/// A module
|
||||
/// A module can
|
||||
/// - be built-in
|
||||
/// - stem from a [file import]($scripting/#modules)
|
||||
/// - stem from a [package import]($scripting/#packages) (and thus indirectly
|
||||
|
Loading…
x
Reference in New Issue
Block a user