generate docs - fix for explicit generic params