[1.5.x] Fixed #21264 -- Incorrect RST usage in docs

Backport of 8fc63087f6 from master