-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate canopy and options configurations. (#171)
* Consolidate canopy and options configurations. * Modify test build workflows, add unit testing.
- Loading branch information
1 parent
3c1422f
commit 3607721
Showing
22 changed files
with
259 additions
and
344 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,68 @@ | ||
{ | ||
"prod": { | ||
"label": { "none": ["Canopy IIIF"] }, | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/search?query=%22nez%20perce%22&as=iiif&size=250", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/cd5e1b9c-370b-40e5-b3d9-defc1d8e0777?as=iiif" | ||
], | ||
"metadata": ["Subject", "Date", "Dimensions"] | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/search?query=%22nez%20perce%22&as=iiif&size=125", | ||
"metadata": ["Subject", "Date", "Dimensions"], | ||
"locales": [ | ||
{ | ||
"config": "locales/en.json", | ||
"label": "English", | ||
"lang": "en" | ||
} | ||
], | ||
"map": { | ||
"defaultBounds": [[51.505, -0.09]], | ||
"enabled": false, | ||
"icon": { | ||
"iconUrl": "images/marker-icon.png", | ||
"iconSize": [24, 36], | ||
"iconAnchor": [12, 36] | ||
}, | ||
"tileLayers": [ | ||
{ | ||
"name": "OpenStreetMap", | ||
"url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", | ||
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors" | ||
} | ||
] | ||
}, | ||
"dev": { | ||
"label": { "none": ["Canopy IIIF"] }, | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/search?query=%22nez%20perce%22&as=iiif&size=250", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/cd5e1b9c-370b-40e5-b3d9-defc1d8e0777?as=iiif" | ||
], | ||
"metadata": ["Subject", "Date", "Dimensions"] | ||
"search": { | ||
"enabled": true, | ||
"flexSearch": { | ||
"charset": "latin:extra", | ||
"optimize": true, | ||
"tokenize": "strict", | ||
"bidirectional": false, | ||
"document": { | ||
"index": [ | ||
{ | ||
"field": "label", | ||
"tokenize": "full", | ||
"resolution": 9, | ||
"depth": 3, | ||
"bidirectional": true | ||
}, | ||
{ | ||
"field": "metadata", | ||
"resolution": 2 | ||
}, | ||
{ | ||
"field": "summary", | ||
"resolution": 1 | ||
} | ||
] | ||
} | ||
}, | ||
"index": { | ||
"metadata": { | ||
"enabled": true, | ||
"all": false | ||
}, | ||
"summary": { | ||
"enabled": false | ||
} | ||
} | ||
}, | ||
"theme": { | ||
"defaultTheme": "light", | ||
"toggleEnabled": false | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/2de0355c-8e48-4478-93af-8cbd1437bd16?as=iiif" | ||
], | ||
"metadata": ["Date", "Subject"], | ||
"search": { | ||
"enabled": true, | ||
"flexSearch": { | ||
"charset": ["latin:extra"], | ||
"optimize": true, | ||
"tokenize": "strict", | ||
"bidirectional": false, | ||
"document": { | ||
"index": [ | ||
{ | ||
"field": "label", | ||
"tokenize": "full", | ||
"resolution": 9, | ||
"depth": 3, | ||
"bidirectional": true | ||
}, | ||
{ | ||
"field": "metadata", | ||
"resolution": 2 | ||
}, | ||
{ | ||
"field": "summary", | ||
"resolution": 1 | ||
} | ||
] | ||
} | ||
}, | ||
"index": { | ||
"metadata": { | ||
"enabled": true, | ||
"all": true | ||
}, | ||
"summary": { | ||
"enabled": true | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif", | ||
"devCollection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif&size=5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,8 @@ | ||
{ | ||
"prod": { | ||
"collection": "https://iiif.bodleian.ox.ac.uk/iiif/collection/hobhouse", | ||
"featured": [ | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/8da97e8c-4e12-457d-aad8-3327b3aec183.json", | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/2968d5c7-3718-44ef-92ea-ee4cc58cc677.json" | ||
], | ||
"metadata": ["Extent", "Date Statement"] | ||
}, | ||
"dev": { | ||
"collection": "https://iiif.bodleian.ox.ac.uk/iiif/collection/hobhouse", | ||
"featured": [ | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/8da97e8c-4e12-457d-aad8-3327b3aec183.json", | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/2968d5c7-3718-44ef-92ea-ee4cc58cc677.json" | ||
], | ||
"metadata": ["Extent", "Date Statement"] | ||
} | ||
"collection": "https://iiif.bodleian.ox.ac.uk/iiif/collection/hobhouse", | ||
"featured": [ | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/8da97e8c-4e12-457d-aad8-3327b3aec183.json", | ||
"https://iiif.bodleian.ox.ac.uk/iiif/manifest/2968d5c7-3718-44ef-92ea-ee4cc58cc677.json" | ||
], | ||
"metadata": ["Extent", "Date Statement"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,7 @@ | ||
{ | ||
"prod": { | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/2de0355c-8e48-4478-93af-8cbd1437bd16?as=iiif" | ||
], | ||
"metadata": ["Date", "Subject", "Genre", "Dimensions"] | ||
}, | ||
"dev": { | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/2de0355c-8e48-4478-93af-8cbd1437bd16?as=iiif" | ||
], | ||
"metadata": ["Date", "Subject", "Genre", "Dimensions"] | ||
} | ||
"collection": "https://api.dc.library.northwestern.edu/api/v2/collections/c373ecd2-2c45-45f2-9f9e-52dc244870bd?as=iiif", | ||
"featured": [ | ||
"https://api.dc.library.northwestern.edu/api/v2/works/2de0355c-8e48-4478-93af-8cbd1437bd16?as=iiif" | ||
], | ||
"metadata": ["Date", "Subject", "Genre", "Dimensions"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,13 @@ | ||
{ | ||
"prod": { | ||
"label": { "none": ["Collection Title"] }, | ||
"summary": { | ||
"none": ["Brief description of the site and its contents."] | ||
}, | ||
"collection": "https://example.org/iiif/collection.json", | ||
"featured": [ | ||
"https://example.org/manifest-1.json", | ||
"https://example.org/manifest-2.json" | ||
], | ||
"metadata": ["Date", "Subject"] | ||
}, | ||
"dev": { | ||
"label": { "none": ["Collection Title"] }, | ||
"summary": { | ||
"none": ["Brief description of the site and its contents."] | ||
}, | ||
"collection": "https://example.org/iiif/collection.json", | ||
"featured": [ | ||
"https://example.org/manifest-1.json", | ||
"https://example.org/manifest-2.json" | ||
], | ||
"metadata": ["Date", "Subject"] | ||
"collection": "https://example.org/iiif/collection.json", | ||
"devCollection": "https://example.org/iiif/collection-small-sample.json", | ||
"featured": [ | ||
"https://example.org/manifest-1.json", | ||
"https://example.org/manifest-2.json" | ||
], | ||
"metadata": ["Date", "Subject"], | ||
"label": { "none": ["Collection Title"] }, | ||
"summary": { | ||
"none": ["Brief description of the site and its contents."] | ||
} | ||
} |
Oops, something went wrong.