mirror of https://github.com/docker/docs.git
_includes/cli.md: remove "validation" for include-file
Removing this "check" because it made the template difficult to read, and duilding the docs won't fail if these values are missing. If a page is empty, it's probably fast to find why anyway. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3ad5c44957
commit
f48a3adc2d
|
|
@ -1,6 +1,4 @@
|
||||||
{% capture tabChar %} {% endcapture %}<!-- Make sure atom is using hard tabs -->
|
{% capture tabChar %} {% endcapture %}<!-- Make sure atom is using hard tabs -->
|
||||||
{% if include.datafolder and include.datafile %}
|
|
||||||
|
|
||||||
{% assign controller_data = site.data[include.datafolder][include.datafile] %}
|
{% assign controller_data = site.data[include.datafolder][include.datafile] %}
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
@ -140,11 +138,6 @@ For example uses of this command, refer to the [examples section](#examples) bel
|
||||||
|
|
||||||
{{ controller_data.examples }}
|
{{ controller_data.examples }}
|
||||||
|
|
||||||
{% endif %}
|
|
||||||
{% else %}
|
|
||||||
|
|
||||||
The include.datafolder or include.datafile was not set.
|
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if controller_data.pname %}
|
{% if controller_data.pname %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue