summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2024-10-03 15:20:48 +0200
committerGitHub <noreply@github.com>2024-10-03 13:20:48 +0000
commitcbd251f4749241bbf722fe538cb42dd6edef8c1c (patch)
treee58bf85b61ea90fde4b645a4acf93fe7631c9142 /docs/src
parent0343e038d373b9164679c4d7b2c5345c58c123b7 (diff)
Tweak docs (#5089)
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/src/lib.rs b/docs/src/lib.rs
index 5670fa6f..4ee6d50d 100644
--- a/docs/src/lib.rs
+++ b/docs/src/lib.rs
@@ -249,14 +249,15 @@ fn category_page(resolver: &dyn Resolver, category: Category) -> PageModel {
let mut skip = HashSet::new();
if category == MATH {
- // Already documented in the text category.
- skip.insert("text");
skip = GROUPS
.iter()
.filter(|g| g.category == category.name())
.flat_map(|g| &g.filter)
.map(|s| s.as_str())
.collect();
+
+ // Already documented in the text category.
+ skip.insert("text");
}
// Add values and types.