Improve wiki sidebar
What does this MR do and why?
This MR for issue #259711 (closed) Combine wiki pages with the same name as directories in trees.
When a directory and page have same name, they will combine in one node.
For example, there are a.md a/b.md a/b/c.md a/b/c/d.md
Before change UI show
After change UI show
@daveliu
@lyb124553153 peer review
Edited by yanhui