Add missing code-hints, and minor markdown edits
- Add missing code-hints (console, yaml) - Consistently add an empty line after code-blocks - Combine some examples where the output and the command were put in separate blocks. With the "console" code-hint, this is no longer nescessary. - fix indentation in cloud/ecs-integration.md, which caused the numbered-list to be interrupted. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
9b971331af
commit
072bad48b1
3 changed files with 4 additions and 3 deletions
|
@ -100,7 +100,7 @@ gives a clear indication of items eligible for deletion.
|
||||||
|
|
||||||
The config.yml file should be in the following format:
|
The config.yml file should be in the following format:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
version: 0.1
|
version: 0.1
|
||||||
storage:
|
storage:
|
||||||
filesystem:
|
filesystem:
|
||||||
|
|
|
@ -159,7 +159,7 @@ request coming to an endpoint.
|
||||||
|
|
||||||
An example of a full event may look as follows:
|
An example of a full event may look as follows:
|
||||||
|
|
||||||
```
|
```http request
|
||||||
GET /callback HTTP/1.1
|
GET /callback HTTP/1.1
|
||||||
Host: application/vnd.docker.distribution.events.v1+json
|
Host: application/vnd.docker.distribution.events.v1+json
|
||||||
Authorization: Bearer <your token, if needed>
|
Authorization: Bearer <your token, if needed>
|
||||||
|
|
|
@ -84,6 +84,7 @@ The following AWS policy is required by the registry for push and pull. Make sur
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
See [the S3 policy documentation](http://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) for more details.
|
See [the S3 policy documentation](http://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) for more details.
|
||||||
|
|
||||||
# CloudFront as Middleware with S3 backend
|
# CloudFront as Middleware with S3 backend
|
||||||
|
@ -135,7 +136,7 @@ are still directly written to S3.
|
||||||
|
|
||||||
The following example shows a minimum configuration:
|
The following example shows a minimum configuration:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
...
|
...
|
||||||
storage:
|
storage:
|
||||||
s3:
|
s3:
|
||||||
|
|
Loading…
Reference in a new issue