Hi, I am using Sphinx to create documentation and I get import errors when building. I use Mock in the conf.py file:
import mock for mod in ['maya', 'maya.cmds', 'maya.OpenMaya', 'maya.api.OpenMaya', 'pymel', 'pymel.core', 'maya.mel', 'pm']: sys.modules[mod] = mock.MagicMock() It works fine for most of the modules but when I add maya.OpenMayaUI to the list the build process crashes. I am really new to Sphinx, so any tips or ideas are welcomed! Best, Johan -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/9916ae08-7d47-44f7-876f-feb3af7014b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.