summaryrefslogtreecommitdiff
path: root/library/src/meta/reference.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-05-19 11:04:20 +0200
committerLaurenz <laurmaedje@gmail.com>2023-05-19 11:04:20 +0200
commit56a96881a54dd3784e0db22e36130eddf4e19a02 (patch)
tree4a1a78c35663a81a77406e5b21f0b8d423e98130 /library/src/meta/reference.rs
parent551ea99d05166b0be50792f767ddd38b996e32fa (diff)
Doc links for function scopes
Diffstat (limited to 'library/src/meta/reference.rs')
-rw-r--r--library/src/meta/reference.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index 1f1f2b23..328e6098 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -11,10 +11,11 @@ use crate::text::TextElem;
/// [cite]($func/cite) from a bibliography.
///
/// Referenceable elements include [headings]($func/heading),
-/// [figures]($func/figure), and [equations]($func/equation). To create a custom
-/// referenceable element like a theorem, you can create a figure of a custom
-/// [`kind`]($func/figure.kind) and write a show rule for it. In the future,
-/// there might be a more direct way to define a custom referenceable element.
+/// [figures]($func/figure), and [equations]($func/math.equation). To create a
+/// custom referenceable element like a theorem, you can create a figure of a
+/// custom [`kind`]($func/figure.kind) and write a show rule for it. In the
+/// future, there might be a more direct way to define a custom referenceable
+/// element.
///
/// If you just want to link to a labelled element and not get an automatic
/// textual reference, consider using the [`link`]($func/link) function instead.