add automatic libdoc generation