Markdown Source of iiif.io website. For the IIIF specification see: IIIF/api.
-
bundle install -
Run
bundle exec rake devto compile the site and run a dev server on http://localhost:4000.
bundle install- Install grunt
npm install -g grunt-cli - Install grunt dependencies
npm install - Run
bundle exec rake ci
Branches are available at http://preview.iiif.io/root/[branch_name]/index.html. The master branch is automatically loaded to the iiif.io website.
- Much of the site data is in the YAML files in
_data/(e.g. member institutions, server impls, demos, etc.) make edits there. - The latest versions of the APIs are set in
_config.yml. Change there will get pushed to.htaccess,technical-details/, and any other links. - The website is now split with the root website living here and the api website living in IIIF/api. Links internal and external should be in the following forms:
- Internal relative link inside the root website
[hyperlink text]({{ site.root_url | absolute_url }}/end/point) - link from the root website to the api website (not relative to this repo)
[hyperlink text]({{ site.api_url | absolute_url }}/end/point) - External link
[anchor-text](http://example.com/end/point) - Reference link
[text][link_name]where link_name is expanded at the bottom of the page.
- Internal relative link inside the root website
- Adding newsitem images
Updating Ruby dependencies:
bundle update
Updating node dependencies (package.json):
# install node update program
npm i -g npm-check-updates
# run update, this will update the package.json
ncu -u
# this will update the installed libraries
npm install
