Skip to content

Commit

Permalink
Merge pull request #17631 from crazy-max/yaml-ref-hidden-cmd
Browse files Browse the repository at this point in the history
cli-ref: don't show hidden commands
  • Loading branch information
crazy-max authored Jun 28, 2023
2 parents b4fd05b + a090389 commit 42930be
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
4 changes: 0 additions & 4 deletions _data/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,6 @@ reference:
title: docker buildx imagetools inspect
- path: /engine/reference/commandline/buildx_inspect/
title: docker buildx inspect
- path: /engine/reference/commandline/buildx_install/
title: docker buildx install
- path: /engine/reference/commandline/buildx_ls/
title: docker buildx ls
- path: /engine/reference/commandline/buildx_prune/
Expand All @@ -263,8 +261,6 @@ reference:
title: docker buildx rm
- path: /engine/reference/commandline/buildx_stop/
title: docker buildx stop
- path: /engine/reference/commandline/buildx_uninstall/
title: docker buildx uninstall
- path: /engine/reference/commandline/buildx_use/
title: docker buildx use
- path: /engine/reference/commandline/buildx_version/
Expand Down
4 changes: 4 additions & 0 deletions _includes/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,13 @@ For example uses of this command, refer to the [examples section](#examples) bel
</thead>
<tbody>
{% for command in controller_data.cname %}
{% unless command.hidden %}
{% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %}
<tr>
<td markdown="span">[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/)</td>
<td markdown="span">{{ site.data[include.datafolder][dataFileName].short }}</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>
Expand All @@ -207,11 +209,13 @@ For example uses of this command, refer to the [examples section](#examples) bel
</thead>
<tbody>
{% for command in site.data[include.datafolder][parentdatafile].cname %}
{% unless command.hidden %}
{% capture dataFileName %}{{ command | strip | replace: " ", "_" }}{% endcapture %}
<tr>
<td markdown="span">[{{ command }}]({{ parentPath }}{{ dataFileName | remove_first: "docker_" }}/)</td>
<td markdown="span">{{ site.data[include.datafolder][dataFileName].short }}</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>
Expand Down
13 changes: 0 additions & 13 deletions engine/reference/commandline/buildx_install.md

This file was deleted.

13 changes: 0 additions & 13 deletions engine/reference/commandline/buildx_uninstall.md

This file was deleted.

0 comments on commit 42930be

Please sign in to comment.