Useful Scala Helpers for Publishing Documents