detect docsum version automatically