Преглед изворни кода

[v2] docs: fix stray backtick, and add compose_version yaml

Signed-off-by: Sebastiaan van Stijn <[email protected]>
Sebastiaan van Stijn пре 4 година
родитељ
комит
0b896c69ce

+ 1 - 1
docs/reference/compose_down.md

@@ -2,7 +2,7 @@
 
 
 ## Description
 ## Description
 
 
-Stops containers and removes containers, networks, volumes, and images created by ``up`.
+Stops containers and removes containers, networks, volumes, and images created by `up`.
 
 
 By default, the only things removed are:
 By default, the only things removed are:
 
 

+ 1 - 1
docs/reference/docker_compose_down.yaml

@@ -1,7 +1,7 @@
 command: docker compose down
 command: docker compose down
 short: Stop and remove containers, networks
 short: Stop and remove containers, networks
 long: |-
 long: |-
-  Stops containers and removes containers, networks, volumes, and images created by ``up`.
+  Stops containers and removes containers, networks, volumes, and images created by `up`.
 
 
   By default, the only things removed are:
   By default, the only things removed are:
 
 

+ 31 - 0
docs/reference/docker_compose_version.yaml

@@ -0,0 +1,31 @@
+command: docker compose version
+short: Show the Docker Compose version information
+long: Show the Docker Compose version information
+usage: docker compose version
+pname: docker compose
+plink: docker_compose.yaml
+options:
+- option: format
+  shorthand: f
+  value_type: string
+  description: 'Format the output. Values: [pretty | json]. (Default: pretty)'
+  deprecated: false
+  experimental: false
+  experimentalcli: false
+  kubernetes: false
+  swarm: false
+- option: short
+  value_type: bool
+  default_value: "false"
+  description: Shows only Compose's version number.
+  deprecated: false
+  experimental: false
+  experimentalcli: false
+  kubernetes: false
+  swarm: false
+deprecated: false
+experimental: false
+experimentalcli: false
+kubernetes: false
+swarm: false
+