Some fixes in the docgenerator
yihaa, the first automatically generated reference docs for functions