TOC is right sidebar, I am looking for left sidebar where you have categories and then topics slug below.
Check this link:
Create a category in Discourse - Documentation / Site Management - Discourse Meta
or check click on documentation category of discourse forum