Skip to content

Commit

Permalink
docs: Don't generate docs for Builder properties are not writable
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jun 3, 2024
1 parent ff1555c commit 84db896
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/codegen/doc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,9 @@ fn create_object_doc(w: &mut dyn Write, env: &Env, info: &analysis::object::Info
}
}
for property in &builder_properties {
if !property.writable {
continue;
}
let ty = TypeStruct {
ty: SType::Fn,
name: nameutil::signal_to_snake(&property.name),
Expand Down

0 comments on commit 84db896

Please sign in to comment.