Turn any Jekyll site into an offline application with relative links

Library

The methods in the lib_rellinks.rb library may be useful for relativizing links more generally in HTML pages other than Jekyll sites.

It is extremely useful to have an offline version of a website that can work without an Internet connection or a local server, so it was quite surprising to find that a library to do this did not already exist.

This script has been used to create fully-functional offline versions of the Global Storybooks websites.