generate docs on install