Skip to content

Commit

Permalink
Merge pull request #2293 from IIIF/fix_content_state_versions
Browse files Browse the repository at this point in the history
Fix discovery versions
  • Loading branch information
mikeapp authored May 9, 2024
2 parents fb5858e + c567f8d commit 002175a
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 159 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ package-lock.json
.jekyll-cache
tmp/
iiifc-theme
Gemfile.lock
vendor
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ gem 'jekyll-seo-tag'
# A Fix
gem 'webrick', "~> 1.7"

# Note 0.0.3 is broken due to: https://github.com/gemfarmer/jekyll-liquify/issues/8
gem "jekyll-liquify", "0.0.2"

group :development, :test do
gem 'html-proofer', "3.19.0"
gem 'rspec'
Expand Down
137 changes: 0 additions & 137 deletions Gemfile.lock

This file was deleted.

14 changes: 7 additions & 7 deletions source/_data/apis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ discovery:
description: Harvest any changes published by organizations that deliver digital objects.
image: assets/images/icons/[email protected]
alt_text: Change Discovery API icon
draft:
major: 0
minor: 9
stable:
major: 1
minor: 0
patch: 0
content-state:
label: Content State API
description: Generate a very specific link to a particular view of an object, like a specific area on a particulat page rotated at a certain angle.
description: Generate a very specific link to a particular view of an object, like a specific area on a particular page rotated at a certain angle.
image: assets/images/icons/[email protected]
alt_text: Content State API icon
draft:
major: 0
minor: 3
stable:
major: 1
minor: 0
patch: 0
2 changes: 1 addition & 1 deletion source/_includes/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
[org-ecma-encodeuricomponent]: https://tc39.es/ecma262/#sec-encodeuricomponent-uricomponent "encodeURIComponent"
[org-ecma-decodeuricomponent]: https://tc39.es/ecma262/#sec-decodeuricomponent-encodeduricomponent "decodeURIComponent"
[org-iana-uri-schemes]: http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml "IANA URI Schemes"
[org-json-ld]: http://www.json-ld.org/ "JSON for Linking Data"
[org-json-ld]: https://json-ld.org/ "JSON for Linking Data"
[org-linked-data]: http://linkeddata.org/ "Linked Data"
[org-mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation"
[org-mozilla-drag-drop]: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API "HTML Drag and Drop API"
Expand Down
2 changes: 1 addition & 1 deletion source/content-state/0.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version]

__Previous Version:__ None

Expand Down
2 changes: 1 addition & 1 deletion source/content-state/0.2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version]

__Previous Version:__ [0.1][contentstate01]

Expand Down
2 changes: 1 addition & 1 deletion source/content-state/0.3/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version]

__Previous Version:__ [0.2][contentstate02]

Expand Down
2 changes: 1 addition & 1 deletion source/content-state/0.9/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version]

__Previous Version:__ [0.3][contentstate03]

Expand Down
2 changes: 1 addition & 1 deletion source/content-state/1.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.data.apis.content-state.latest.major }}.{{ site.data.apis.content-state.latest.minor }}.{{ site.data.apis.content-state.latest.patch }}][contenstate-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.content-state.stable.major }}.{{ site.data.apis.content-state.stable.minor }}.{{ site.data.apis.content-state.stable.patch }}][contenstate-stable-version]

__Previous Version:__ [0.9][contentstate09]

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/0.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ editors:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ None
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ None

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/0.2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ editors:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ None
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ [0.1][discovery01]

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/0.3/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ editors:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ None
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ [0.2][discovery02]

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/0.4/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ editors:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ None
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ [0.3][discovery03]

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/0.9/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ None
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ [0.4][discovery04]

Expand Down
2 changes: 1 addition & 1 deletion source/discovery/1.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ hero:
{:.no_toc}
__This Version:__ {{ page.major }}.{{ page.minor }}.{{ page.patch }}{% if page.pre != 'final' %}-{{ page.pre }}{% endif %}

__Latest Stable Version:__ [{{ site.discovery_api.stable.major }}.{{ site.discovery_api.stable.minor }}.{{ site.discovery_api.stable.patch }}][discovery-stable-version]
__Latest Stable Version:__ [{{ site.data.apis.discovery.stable.major }}.{{ site.data.apis.discovery.stable.minor }}.{{ site.data.apis.discovery.stable.patch }}][discovery-stable-version]

__Previous Version:__ [0.9.2][discovery09]

Expand Down
2 changes: 1 addition & 1 deletion source/image/1.1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ <h2>
<a href="http://library.stanford.edu/iiif/image-api/1.1/context.json" target="_blank" data-proofer-ignore>"http://library.stanford.edu/iiif/image-api/1.1/context.json"</a>
for version 1.1 of the IIIF Image API. This document
allows the response to be interpreted as RDF, using the
<a href="http://www.json-ld.org/" target="_blank">JSON-LD</a> serialization.
<a href="https://json-ld.org/" target="_blank">JSON-LD</a> serialization.
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion source/image/2.0/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ Many thanks to Ben Albritton, Matthieu Bonicel, Anatol Broder, Kevin Clarke, To
[cors-spec]: http://www.w3.org/TR/cors/ "Cross-Origin Resource Sharing"
[iiif-discuss]: mailto:[email protected] "Email Discussion List"
[json-as-json-ld]: http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld "JSON-LD 1.0: 6.8 Interpreting JSON as JSON-LD"
[json-ld-org]: http://www.json-ld.org/ "JSON for Linking Data"
[json-ld-org]: https://json-ld.org/ "JSON for Linking Data"
[json-ld-w3c]: http://www.w3.org/TR/json-ld/ "JSON-LD 1.0"
[mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation"
[rfc-2617]: https://datatracker.ietf.org/doc/html/rfc2617 "HTTP Authentication: Basic and Digest Access Authentication"
Expand Down
2 changes: 1 addition & 1 deletion source/image/2.1/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ Many thanks to the members of the [IIIF][iiif-community] for their continuous en
[cors-spec]: http://www.w3.org/TR/cors/ "Cross-Origin Resource Sharing"
[iiif-discuss]: mailto:[email protected] "Email Discussion List"
[json-as-json-ld]: http://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld "JSON-LD 1.0: 6.8 Interpreting JSON as JSON-LD"
[json-ld-org]: http://www.json-ld.org/ "JSON for Linking Data"
[json-ld-org]: https://json-ld.org/ "JSON for Linking Data"
[json-ld-w3c]: http://www.w3.org/TR/json-ld/ "JSON-LD 1.0"
[mellon]: http://www.mellon.org/ "The Andrew W. Mellon Foundation"
[rfc-2617]: https://datatracker.ietf.org/doc/html/rfc2617 "HTTP Authentication: Basic and Digest Access Authentication"
Expand Down

0 comments on commit 002175a

Please sign in to comment.