Fix document generation in grunt