Ответ 1
Вы можете изменить add_module_names
на False
в файле conf.py
:
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
add_module_names = False
Затем foo.bar.my_function()
будет отображаться как my_function()
.