summaryrefslogtreecommitdiff
path: root/library/src/math/mod.rs
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2023-01-29 12:43:44 +0100
committerMartin Haug <mhaug@live.de>2023-01-29 12:43:44 +0100
commit8fbfa594e072aba384becaf5f4bd358bcc2ebc68 (patch)
tree4ace0ac099e3767afbaca3951c314a05ca823e59 /library/src/math/mod.rs
parent83b28e99aed4a168238148a56a5fe2e0bc91d01f (diff)
Update docs so that the reference builds again
Diffstat (limited to 'library/src/math/mod.rs')
-rw-r--r--library/src/math/mod.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index 2d914c31..f1bcd8f4 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -117,7 +117,8 @@ pub fn module(sym: &Module) -> Module {
/// however, are interpreted as variables, symbols or functions. To display
/// multiple letters verbatim, you can place them into quotes. Math mode also
/// supports extra shorthands to easily type various arrows and other symbols.
-/// The page on the [`symbol`](@symbol) function lists all of them.
+/// The [text](/docs/reference/text/) and [math](/docs/reference/math/) sections
+/// list all of them.
///
/// When a variable and a symbol share the same name, the variable is preferred.
/// To force the symbol, surround it with colons. To access a variable with a
@@ -145,11 +146,9 @@ pub fn module(sym: &Module) -> Module {
/// ```
///
/// ## Parameters
-/// - body: Content (positional, required)
-/// The contents of the formula.
+/// - body: Content (positional, required) The contents of the formula.
///
-/// - block: bool (named)
-/// Whether the formula is displayed as a separate block.
+/// - block: bool (named) Whether the formula is displayed as a separate block.
///
/// ## Category
/// math