backport #23629 To make versioned documentation less surprising, 1.19 should have the same technology.
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>