Skip to content

Commit

Permalink
Merge pull request #41 from IIIF-Commons/feature/update-cookbook
Browse files Browse the repository at this point in the history
Updated cookbook
  • Loading branch information
stephenwf authored Jun 26, 2024
2 parents 5b01014 + d90f390 commit 005d96d
Show file tree
Hide file tree
Showing 36 changed files with 16,189 additions and 7,908 deletions.
17,161 changes: 10,122 additions & 7,039 deletions __tests__/presentation-3-parser/__snapshots__/cookbook.tests.ts.snap

Large diffs are not rendered by default.

65 changes: 0 additions & 65 deletions __tests__/presentation-3-parser/annotation-target.test.ts

This file was deleted.

1 change: 1 addition & 0 deletions __tests__/presentation-3-parser/cookbook.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { normalize, serialize, serializeConfigPresentation3 } from '../../src';

const prWaitingForMerge: string[] = [
// '0219-using-caption-file', // https://github.com/IIIF/cookbook-recipes/pull/340
'0022-linking-with-a-hotspot',
];

describe('Cookbook', function () {
Expand Down
4 changes: 4 additions & 0 deletions __tests__/presentation-3-parser/smoke.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ const skipThese: string[] = [
// @todo
// - Has ImageService3 and ImageService2 with the same identifier :(
'bodleian.json',

// @todo
// - Updates to service.
'ghent-choices.json',
];

describe('Smoke tests', async function () {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/cookbook/0003-mvm-video.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"id": "https://iiif.io/api/cookbook/recipe/0003-mvm-video/canvas",
"type": "Canvas",
"height": 360,
"width": 640,
"width": 480,
"duration": 572.034,
"items": [
{
Expand Down
2 changes: 1 addition & 1 deletion fixtures/cookbook/0008-rights.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"value": {
"en": [
"<span>Glen Robson, IIIF Technical Coordinator. <a href=\"https://creativecommons.org/licenses/by-sa/3.0\">CC BY-SA 3.0</a> <a href=\"https://creativecommons.org/licenses/by-sa/3.0\" title\"CC BY-SA 3.0\"><img src=\"https://licensebuttons.net/l/by-sa/3.0/88x31.png\"/></a></span>"
"<span>Glen Robson, IIIF Technical Coordinator. <a href=\"https://creativecommons.org/licenses/by-sa/3.0\">CC BY-SA 3.0</a> <a href=\"https://creativecommons.org/licenses/by-sa/3.0\" title=\"CC BY-SA 3.0\"><img src=\"https://licensebuttons.net/l/by-sa/3.0/88x31.png\"/></a></span>"
]
}
},
Expand Down
174 changes: 0 additions & 174 deletions fixtures/cookbook/0010-book-2-viewing-direction-.json

This file was deleted.

Loading

0 comments on commit 005d96d

Please sign in to comment.