From 863a98c0d7932475dc207d204ec91c26ddec326c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 17 Mar 2015 17:34:33 +0100 Subject: [PATCH] fix(docs): repeated parameters docs improvement Previously, it said it would 'set' the property, which is not the case after all. --- src/mako/lib/mbuild.mako | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mako/lib/mbuild.mako b/src/mako/lib/mbuild.mako index 444fb29314..a49b3ea226 100644 --- a/src/mako/lib/mbuild.mako +++ b/src/mako/lib/mbuild.mako @@ -192,7 +192,12 @@ ${self._setter_fn(resource, method, m, p, part_prop, ThisType, c)}\ part_desc = make_parts_desc(part_prop) # end part description %>\ + % if is_repeated_property(p): + /// Append the given value to the *${split_camelcase_s(p.name)}* ${get_word(p, 'location')}property. + /// Each appended value will retain its original ordering and be '/'-separated in the URL's parameters. + % else: /// Sets the *${split_camelcase_s(p.name)}* ${get_word(p, 'location')}property to the given value. + % endif /// % if show_part_info(m, p): /// Even though the *parts* list is automatically derived from *Resource* passed in