docs: update documentation for randrepeat and allrandrepeat