Hi Pedro,
those URLs are configured in the file:
core/components/sidemenu/templates/menu.html
To change the Website URL, you need to modify the item that uses the string mm.sidemenu.website. You can remove the ng-href attribute and use the href you want, or make the ng-href point to some other variable.
Yo change the docs url you need to modify the item that uses the string mm.sidemenu.help. As before, you can use a fixed href or you can change the value of the docsurl variable.
Kind regards,
Dani