doc: refactor table numbers into references