doc: change AutoDoc() docu into a doc comment