From 072bad48b1787e02f34b1aaa15e0876710d65644 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sat, 14 Aug 2021 14:45:19 +0200 Subject: [PATCH] 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 --- docs/garbage-collection.md | 2 +- docs/notifications.md | 2 +- docs/storage-drivers/s3.md | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/garbage-collection.md b/docs/garbage-collection.md index 768328650..688238be8 100644 --- a/docs/garbage-collection.md +++ b/docs/garbage-collection.md @@ -100,7 +100,7 @@ gives a clear indication of items eligible for deletion. The config.yml file should be in the following format: -``` +```yaml version: 0.1 storage: filesystem: diff --git a/docs/notifications.md b/docs/notifications.md index 7d190392c..2bdaa9716 100644 --- a/docs/notifications.md +++ b/docs/notifications.md @@ -159,7 +159,7 @@ request coming to an endpoint. An example of a full event may look as follows: -``` +```http request GET /callback HTTP/1.1 Host: application/vnd.docker.distribution.events.v1+json Authorization: Bearer diff --git a/docs/storage-drivers/s3.md b/docs/storage-drivers/s3.md index 91a13dc63..39cafa5a8 100644 --- a/docs/storage-drivers/s3.md +++ b/docs/storage-drivers/s3.md @@ -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. # CloudFront as Middleware with S3 backend @@ -135,7 +136,7 @@ are still directly written to S3. The following example shows a minimum configuration: -``` +```yaml ... storage: s3: