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 34c3fb2 commit e0d63f0
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 e0d63f0

Please sign in to comment.