generate function section links