mirror of https://github.com/docker/docs.git
Reference: move "extended description" above "options"
The extended description usually provides a good introduction to the command, which likely is useful to read before heading to more detailed information (such as "which options does this command have") Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
a76cbe68a7
commit
252db13907
|
@ -89,6 +89,13 @@ your client and daemon API versions.
|
|||
```
|
||||
|
||||
{% endif %}
|
||||
{% unless site.data[include.datafolder][include.datafile].long == site.data[include.datafolder][include.datafile].short %}
|
||||
|
||||
## Extended description
|
||||
|
||||
{{ site.data[include.datafolder][include.datafile].long }}
|
||||
|
||||
{% endunless %}
|
||||
{% if site.data[include.datafolder][include.datafile].options %}
|
||||
{% if site.data[include.datafolder][include.datafile].inherited_options %}
|
||||
{% assign alloptions = site.data[include.datafolder][include.datafile].options | concat:site.data[include.datafolder][include.datafile].inherited_options %}
|
||||
|
@ -130,14 +137,6 @@ your client and daemon API versions.
|
|||
|
||||
{% endif %} <!-- end if options -->
|
||||
|
||||
{% unless site.data[include.datafolder][include.datafile].long == site.data[include.datafolder][include.datafile].short %}
|
||||
|
||||
## Extended description
|
||||
|
||||
{{ site.data[include.datafolder][include.datafile].long }}
|
||||
|
||||
{% endunless %}
|
||||
|
||||
{% if site.data[include.datafolder][include.datafile].examples %}
|
||||
|
||||
## Examples
|
||||
|
|
Loading…
Reference in New Issue