mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
Support for related commands in CLI
This commit is contained in:
@@ -58,6 +58,16 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if site.data[page.datafolder][page.datafile].pname != "docker" %}
|
||||
|
||||
## Related commands
|
||||
|
||||
| Command | Description |
|
||||
| ------- | ----------- |{% for command in site.data[page.datafolder][parentdatafile].cname %}{% capture dataFileName %}{{ command | strip | replace: " ","_" }}{% endcapture %}
|
||||
| [{{ command }}]({{ dataFileName | replace: "docker_","" }}/) | {{ site.data[page.datafolder][dataFileName].short }} |{% endfor %}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if site.data[page.datafolder][page.datafile].long != site.data[page.datafolder][page.datafile].short %}
|
||||
|
||||
## Extended description
|
||||
|
||||
Reference in New Issue
Block a user