Merge "Clear description for max_version field"
This commit is contained in:
commit
0cd27677a4
|
@ -178,7 +178,7 @@ min_version
|
|||
|
||||
max_version
|
||||
the last version that includes this parameter. Will render
|
||||
a *Deprecated in $version* stanza in the html output.
|
||||
a *Available until $version* stanza in the html output.
|
||||
|
||||
|
||||
rest_status_code
|
||||
|
|
|
@ -441,7 +441,7 @@ class RestParametersDirective(Table):
|
|||
str(min_version).replace('.', '_'))
|
||||
classes.append(min_ver_css_name)
|
||||
if max_version:
|
||||
desc += ("\n\n**Deprecated in version %s**\n" %
|
||||
desc += ("\n\n**Available until version %s**\n" %
|
||||
max_version)
|
||||
max_ver_css_name = ("rp_max_ver_" +
|
||||
str(max_version).replace('.', '_'))
|
||||
|
|
|
@ -87,7 +87,7 @@ class TestMicroversions(base.TestCase):
|
|||
<td>body</td>
|
||||
<td>string</td>
|
||||
<td><p class="first">The name of things</p>
|
||||
<p class="last"><strong>Deprecated in version 2.20</strong></p>
|
||||
<p class="last"><strong>Available until version 2.20</strong></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in New Issue