If it isn't the case already, I'd do as Cesar said—maybe there are better implementations but here's an example of “mocking” the Maya module for Sphinx: https://github.com/christophercrouzet/banana.maya/blob/master/doc/conf.py#L11
On 7 September 2016 at 16:46, Marcus Ottosson <[email protected]> wrote: > Have a look at trying to narrow it down to something reproducible. For > example, delete half the pages of your Sphinx documentation, and see if it > still breaks. Keep deleting half of half until you've got the smallest > amount of lines that still throw the error. > > Then post the whole sequence of commands that led to the problem. That > might make it easier to see what's going on. > > On 7 September 2016 at 10:37, Cesar Saez <[email protected]> wrote: > >> Don't you mock Maya modules during docs generation? >> Sphinx most likely doesn't need anything from Maya other than being able >> to import your modules, I totally recommend to take a look at mock for >> these kind of things. >> >> Cheers >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/python_inside_maya/CAPamJi8d6%2B1Ni5LO5EY2Atd-qrkjfzJ6b9 >> TWCpNiuwMFUJyp2g%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPamJi8d6%2B1Ni5LO5EY2Atd-qrkjfzJ6b9TWCpNiuwMFUJyp2g%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > [email protected] > > -- > 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/python_inside_maya/CAFRtmOD6ZVDM6dcxH6gh3NMqFh8Fy > vPt9pksp6eXVAbMOnrRBQ%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD6ZVDM6dcxH6gh3NMqFh8FyvPt9pksp6eXVAbMOnrRBQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Christopher Crouzet *http://christophercrouzet.com* <http://christophercrouzet.com> -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CANuKW50Tk-uaeJi6%3DdEopnLM0sp3bhXtgEAAOkyVh95UdeJ3aw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
