From a5ce41baa196b37f1a79cac4a372d1d7e1c07e43 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Fri, 8 Nov 2024 23:23:36 +0000 Subject: [PATCH 1/5] Enabling validation --- .github/workflows/preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 6dd5def26..8bd420d14 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -70,8 +70,8 @@ jobs: python -m pip install --upgrade pip pip install -r scripts/requirements.txt - # - name: validate - # run: scripts/validate.sh + - name: validate + run: scripts/validate.sh - name: add URL to config run: .github/bin/addURL.sh From 3c5baaf7851025685cfc063f37a9d42ad8cd2c9e Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Sat, 9 Nov 2024 00:08:07 +0000 Subject: [PATCH 2/5] Turning next into a resource --- recipe/0309-annotation-collection/anno_p1.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe/0309-annotation-collection/anno_p1.json b/recipe/0309-annotation-collection/anno_p1.json index 18f1ac0b3..f93ae336f 100644 --- a/recipe/0309-annotation-collection/anno_p1.json +++ b/recipe/0309-annotation-collection/anno_p1.json @@ -6,7 +6,10 @@ "id": "{{ id.path }}/anno_coll.json", "type": "AnnotationCollection" }], - "next": "{{ id.path }}/anno_p2.json", + "next": { + "id": "{{ id.path }}/anno_p2.json", + "type": "AnnotationPage" + }, "items": [ { "id": "{{ id.url }}-1", From 9077a7659c95a222949aa6fd7b9dd71d30054897 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Sat, 9 Nov 2024 00:08:50 +0000 Subject: [PATCH 3/5] Turning prev into resource --- recipe/0309-annotation-collection/anno_p2.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipe/0309-annotation-collection/anno_p2.json b/recipe/0309-annotation-collection/anno_p2.json index b34f4551e..ce98ddcd5 100644 --- a/recipe/0309-annotation-collection/anno_p2.json +++ b/recipe/0309-annotation-collection/anno_p2.json @@ -6,7 +6,10 @@ "id": "{{ id.path }}/anno_coll.json", "type": "AnnotationCollection" }], - "prev": "{{ id.path }}/anno_p1.json", + "prev": { + "id": "{{ id.path }}/anno_p1.json", + "type": "AnnotationPage" + }, "items": [ { "id": "{{ id.url }}-1", From 2131874b972b667948b74ed689fc1e8608034a61 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 13 Nov 2024 14:29:38 +0000 Subject: [PATCH 4/5] Restoring back to a string --- recipe/0309-annotation-collection/anno_p1.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipe/0309-annotation-collection/anno_p1.json b/recipe/0309-annotation-collection/anno_p1.json index f93ae336f..18f1ac0b3 100644 --- a/recipe/0309-annotation-collection/anno_p1.json +++ b/recipe/0309-annotation-collection/anno_p1.json @@ -6,10 +6,7 @@ "id": "{{ id.path }}/anno_coll.json", "type": "AnnotationCollection" }], - "next": { - "id": "{{ id.path }}/anno_p2.json", - "type": "AnnotationPage" - }, + "next": "{{ id.path }}/anno_p2.json", "items": [ { "id": "{{ id.url }}-1", From 35fb52d314dafb636e71d687d0ff01e6717594aa Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 13 Nov 2024 14:30:09 +0000 Subject: [PATCH 5/5] Restoring prev to string --- recipe/0309-annotation-collection/anno_p2.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/recipe/0309-annotation-collection/anno_p2.json b/recipe/0309-annotation-collection/anno_p2.json index ce98ddcd5..b34f4551e 100644 --- a/recipe/0309-annotation-collection/anno_p2.json +++ b/recipe/0309-annotation-collection/anno_p2.json @@ -6,10 +6,7 @@ "id": "{{ id.path }}/anno_coll.json", "type": "AnnotationCollection" }], - "prev": { - "id": "{{ id.path }}/anno_p1.json", - "type": "AnnotationPage" - }, + "prev": "{{ id.path }}/anno_p1.json", "items": [ { "id": "{{ id.url }}-1",