From 33ddec9e09e2e9f973852e63d2847cb3f67520a1 Mon Sep 17 00:00:00 2001 From: James Brumond Date: Wed, 23 Nov 2022 13:04:11 -0800 Subject: [PATCH] readme indents --- .editorconfig | 14 +++++++ .../json-feed/extensions/events/readme.md | 38 +++++++++--------- .../json-feed/extensions/rsvps/readme.md | 40 +++++++++---------- 3 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9653646 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ + +root = true + +[*] +indent_size = 4 +indent_style = tab + +[*.{js,ts,css,html}] +indent_size = 4 +indent_style = tab + +[*.{md,json,jsonc,yml,yaml,sql}] +indent_size = 2 +indent_style = space diff --git a/json-schema/json-feed/extensions/events/readme.md b/json-schema/json-feed/extensions/events/readme.md index 3cf8270..3f135a7 100644 --- a/json-schema/json-feed/extensions/events/readme.md +++ b/json-schema/json-feed/extensions/events/readme.md @@ -9,28 +9,28 @@ This extension adds a new, optional `_event` field on each Item in a JSON Feed d ```jsonc { - "version": "https://jsonfeed.org/version/1.1", + "version": "https://jsonfeed.org/version/1.1", - // ... - - "items": [ - { - // ... + // ... + + "items": [ + { + // ... - // The presence of the `_event` field implies that this Item in the Feed - // represents an event, and it contains additional event-related metadata - "_event": { - // Points to the v1.json file here - "$schema": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/events/v1.json", + // The presence of the `_event` field implies that this Item in the Feed + // represents an event, and it contains additional event-related metadata + "_event": { + // Points to the v1.json file here + "$schema": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/events/v1.json", - // Points to this readme doc - "about": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/events/readme.md", + // Points to this readme doc + "about": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/events/readme.md", - // The start and end time for the event - "start": "2022-11-20T18:00:00.000-08:00", - "end": "2022-11-20T23:00:00.000-08:00" - } - } - ] + // The start and end time for the event + "start": "2022-11-20T18:00:00.000-08:00", + "end": "2022-11-20T23:00:00.000-08:00" + } + } + ] } ``` diff --git a/json-schema/json-feed/extensions/rsvps/readme.md b/json-schema/json-feed/extensions/rsvps/readme.md index 695eab0..9566ed2 100644 --- a/json-schema/json-feed/extensions/rsvps/readme.md +++ b/json-schema/json-feed/extensions/rsvps/readme.md @@ -9,31 +9,31 @@ This extension adds a new, optional `_rsvp` field on each Item in a JSON Feed do ```jsonc { - "version": "https://jsonfeed.org/version/1.1", + "version": "https://jsonfeed.org/version/1.1", - // ... + // ... - "items": [ - { - // ... + "items": [ + { + // ... - // An RSVP entry MUST contain an `external_url` pointing to the event - // the RSVP is in response to - "external_url": "https://example.com/example-event-document", + // An RSVP entry MUST contain an `external_url` pointing to the event + // the RSVP is in response to + "external_url": "https://example.com/example-event-document", - // The presence of the `_rsvp` field implies that this Item in the Feed - // represents an event, and it contains additional event-related metadata - "_rsvp": { - // Points to the v1.json file here - "$schema": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/rsvps/v1.json", + // The presence of the `_rsvp` field implies that this Item in the Feed + // represents an event, and it contains additional event-related metadata + "_rsvp": { + // Points to the v1.json file here + "$schema": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/rsvps/v1.json", - // Points to this readme doc - "about": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/rsvps/readme.md", + // Points to this readme doc + "about": "https://gitea.jbrumond.me/minimal/docs/raw/branch/master/json-schema/json-feed/extensions/rsvps/readme.md", - // The type of RSVP response, one of "invite", "yes", "no", "maybe", or "interested" - "rsvp": "yes" - } - } - ] + // The type of RSVP response, one of "invite", "yes", "no", "maybe", or "interested" + "rsvp": "yes" + } + } + ] } ```