Library and command line utility for generating GitBooks