hi @marco8vo welcome to Meta. not specific to docs or anything, but have you seen this plug-in? not sure if it would suit your needs but it makes custom sidebars in Discourse:
good luck with your endeavor. i hope you can find a solution to your needs here.