Skip to content

Commit

Permalink
docs/members: Don't generate docs for ignored members
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jun 3, 2024
1 parent 623c4ca commit 2518df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ fn create_enum_doc(w: &mut dyn Write, env: &Env, enum_: &Enumeration, tid: TypeI
m.members
.matched(&member.name)
.first()
.map(|m| m.generate_doc)
.map(|m| m.generate_doc && !m.status.ignored())
})
.unwrap_or(true);

Expand Down

0 comments on commit 2518df9

Please sign in to comment.