Ocamldoc generation, example files and caching of string representation of terms