Skip to content

Commit 863a98c

Browse files
committed
fix(docs): repeated parameters docs improvement
Previously, it said it would 'set' the property, which is not the case after all.
1 parent 64219e7 commit 863a98c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/mako/lib/mbuild.mako

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ ${self._setter_fn(resource, method, m, p, part_prop, ThisType, c)}\
192192
part_desc = make_parts_desc(part_prop)
193193
# end part description
194194
%>\
195+
% if is_repeated_property(p):
196+
/// Append the given value to the *${split_camelcase_s(p.name)}* ${get_word(p, 'location')}property.
197+
/// Each appended value will retain its original ordering and be '/'-separated in the URL's parameters.
198+
% else:
195199
/// Sets the *${split_camelcase_s(p.name)}* ${get_word(p, 'location')}property to the given value.
200+
% endif
196201
///
197202
% if show_part_info(m, p):
198203
/// Even though the *parts* list is automatically derived from *Resource* passed in

0 commit comments

Comments
 (0)