[docs] [issue28044] Make the sidebar in the documentation follow the section automatically