docs: add hack back in to avoid creating a python module package in API docs, switch to imgmath extension