Add a page to your wiki called _Sidebar, and write your sidebar content in markdown in that page.
_Sidebar
For example:
- [Home](wiki home url) - [A Section](section page url) - [A Sub-Page](sub-page url) - [Another Section](another url)