mirror of https://github.com/docker/docs.git
Reference: add anchor-link to examples section
Some commands provide a long list of options, which may "hide" the examples section. To help discoverability, add an anchor-link to the examples section (if present). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
252db13907
commit
e6a8b7e5e4
|
@ -96,6 +96,11 @@ your client and daemon API versions.
|
||||||
{{ site.data[include.datafolder][include.datafile].long }}
|
{{ site.data[include.datafolder][include.datafile].long }}
|
||||||
|
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
|
||||||
|
{% if site.data[include.datafolder][include.datafile].examples %}
|
||||||
|
For example uses of this command, refer to the [examples section](#examples) below.
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if site.data[include.datafolder][include.datafile].options %}
|
{% if site.data[include.datafolder][include.datafile].options %}
|
||||||
{% if site.data[include.datafolder][include.datafile].inherited_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 %}
|
{% assign alloptions = site.data[include.datafolder][include.datafile].options | concat:site.data[include.datafolder][include.datafile].inherited_options %}
|
||||||
|
|
Loading…
Reference in New Issue