mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user