[documentation] fixed the parameter type for `scale` as it can takes a number or a string as parameter