generate docs commands