add automatic docs generation