diff --git a/_includes/cli.md b/_includes/cli.md index dcba9fb92f..3df6605f48 100644 --- a/_includes/cli.md +++ b/_includes/cli.md @@ -154,70 +154,3 @@ For example uses of this command, refer to the [examples section](#examples) bel {{ controller_data.examples | replace_relative_links: page.path }} {% endif %} - -{% if controller_data.pname %} -{% unless controller_data.pname == include.datafile or controller_data.pname == "docker" %} - -## Parent command - -{% capture parentfile %}{{ controller_data.plink | remove_first: ".yaml" | remove_first: "docker_" }}{% endcapture %} -{% capture parentdatafile %}{{ controller_data.plink | remove_first: ".yaml" }}{% endcapture %} -{% capture parentDesc %}{{ site.data[include.datafolder][parentdatafile].short }}{% endcapture %} - -| Command | Description | -|:---------------------------------------------------------------|:-----------------| -| [{{ controller_data.pname }}]({{parentPath}}{{ parentfile }}/) | {{ parentDesc }} | - -{% endunless %} -{% endif %} - -{% if controller_data.cname %} - -## Child commands - - - - - - - - - -{% for command in controller_data.cname %} - {% unless command.hidden %} - {% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %} - - - - - {% endunless %} -{% endfor %} - -
CommandDescription
[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/){{ site.data[include.datafolder][dataFileName].short }}
-{% endif %} - -{% unless controller_data.pname == "docker" or controller_data.pname == "dockerd" or include.datafile=="docker" %} - -## Related commands - - - - - - - - - -{% for command in site.data[include.datafolder][parentdatafile].cname %} - {% unless command.hidden %} - {% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %} - - - - - {% endunless %} -{% endfor %} - -
CommandDescription
[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/){{ site.data[include.datafolder][dataFileName].short }}
- -{% endunless %}