mirror of https://github.com/docker/docs.git
				
				
				
			lint: add empty line between console and json code blocks
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
		
							parent
							
								
									e7a93fa64f
								
							
						
					
					
						commit
						123eea0137
					
				|  | @ -40,6 +40,7 @@ services: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print | $ docker buildx bake --print | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -124,6 +125,7 @@ TAG=v1.1.0 | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print | $ docker buildx bake --print | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -200,6 +202,7 @@ services: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print | $ docker buildx bake --print | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  |  | ||||||
|  | @ -38,6 +38,7 @@ You can use this file directly: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print app | $ docker buildx bake --print app | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -72,6 +73,7 @@ And invoke bake together with both of the files: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake -f docker-bake.hcl -f env.hcl --print app | $ docker buildx bake -f docker-bake.hcl -f env.hcl --print app | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -113,6 +115,7 @@ You can use this file directly: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print foo bar | $ docker buildx bake --print foo bar | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -159,6 +162,7 @@ target "app" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --set app.args.mybuildarg=bar --set app.platform=linux/arm64 app --print | $ docker buildx bake --set app.args.mybuildarg=bar --set app.platform=linux/arm64 app --print | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -247,6 +251,7 @@ target "app" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake -f docker-bake1.hcl -f docker-bake2.hcl --print app | $ docker buildx bake -f docker-bake1.hcl -f docker-bake2.hcl --print app | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  |  | ||||||
|  | @ -328,6 +328,7 @@ $ docker buildx bake "https://github.com/docker/cli.git#v20.10.11" --print | ||||||
| #1 2.022  * [new tag]         v20.10.11  -> v20.10.11 | #1 2.022  * [new tag]         v20.10.11  -> v20.10.11 | ||||||
| #1 DONE 2.9s | #1 DONE 2.9s | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -383,6 +384,7 @@ EOT | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake "https://github.com/tonistiigi/buildx.git#remote-test" --print | $ docker buildx bake "https://github.com/tonistiigi/buildx.git#remote-test" --print | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "target": { |   "target": { | ||||||
|  | @ -414,6 +416,7 @@ $ docker buildx bake "https://github.com/tonistiigi/buildx.git#remote-test" "htt | ||||||
| #1 0.429 577303add004dd7efeb13434d69ea030d35f7888       refs/heads/remote-test | #1 0.429 577303add004dd7efeb13434d69ea030d35f7888       refs/heads/remote-test | ||||||
| #1 CACHED | #1 CACHED | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "target": { |   "target": { | ||||||
|  |  | ||||||
|  | @ -51,6 +51,7 @@ alternatively, in json format: | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print webapp | $ docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -75,6 +76,7 @@ $ docker buildx bake --print webapp | ||||||
| ```console | ```console | ||||||
| $ TAG=$(git rev-parse --short HEAD) docker buildx bake --print webapp | $ TAG=$(git rev-parse --short HEAD) docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -121,6 +123,7 @@ target "webapp" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print webapp | $ docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -168,6 +171,7 @@ target "webapp" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print webapp | $ docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -217,6 +221,7 @@ target "webapp" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print webapp | $ docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -262,6 +267,7 @@ target "webapp" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print webapp | $ docker buildx bake --print webapp | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  | @ -309,6 +315,7 @@ target "app" { | ||||||
| ```console | ```console | ||||||
| $ docker buildx bake --print app | $ docker buildx bake --print app | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|   "group": { |   "group": { | ||||||
|  |  | ||||||
|  | @ -131,6 +131,7 @@ For example: | ||||||
|     "line": "my message" |     "line": "my message" | ||||||
| } | } | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|     "attrs": { |     "attrs": { | ||||||
|  | @ -161,6 +162,7 @@ object. If it cannot parse the message, it is sent `inline`. For example: | ||||||
|     "line": "my message" |     "line": "my message" | ||||||
| } | } | ||||||
| ``` | ``` | ||||||
|  | 
 | ||||||
| ```json | ```json | ||||||
| { | { | ||||||
|     "attrs": { |     "attrs": { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue