mirror of https://github.com/docker/docs.git
reference: prevent options/flags column from wrapping
Make sure that options (flags) are not wrapped in the table. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b4bd9240b8
commit
43db4d8e01
|
@ -134,9 +134,9 @@ For example uses of this command, refer to the [examples section](#examples) bel
|
|||
{% capture option-default %}{% if option.default_value %}{% unless defaults-to-skip contains option.default_value or defaults-to-skip == blank %}`{{ option.default_value }}`{% endunless %}{% endif %}{% endcapture %}
|
||||
<tr>
|
||||
{% if option.details_url and option.details_url != '' -%}
|
||||
<td markdown="span">[`--{{ option.option }}`]({{ option.details_url }}){% if option.shorthand %} , [`-{{ option.shorthand }}`]({{ option.details_url }}){% endif %}</td>
|
||||
<td markdown="span" nowrap>[`--{{ option.option }}`]({{ option.details_url }}){% if option.shorthand %} , [`-{{ option.shorthand }}`]({{ option.details_url }}){% endif %}</td>
|
||||
{%- else -%}
|
||||
<td markdown="span">`--{{ option.option }}`{% if option.shorthand %} , `-{{ option.shorthand }}`{% endif %}</td>
|
||||
<td markdown="span" nowrap>`--{{ option.option }}`{% if option.shorthand %} , `-{{ option.shorthand }}`{% endif %}</td>
|
||||
{%- endif %}
|
||||
<td markdown="span">{{ option-default }}</td>
|
||||
<td markdown="span">{% if all-badges != '' %}{{ all-badges | strip }}<br />{% endif %}{{ option.description | strip }}</td>
|
||||
|
|
Loading…
Reference in New Issue