You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P2Priority 2Salt-APIbugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Mock out specified imports
This allows autodoc to do its thing without having oodles of req'd installed libs. This doesn't work with import * imports.
http://read-the-docs.readthedocs.org/en/latest/faq.html#i-get-import-errors-on-libraries-that-depend-on-c-modules
You're right, it's the decorator. We mock the CherryPy import so when Sphinx tries to auto-document that class it hits the mocked decorator instead of the code. 💭
P2Priority 2Salt-APIbugbroken, incorrect, or confusing behaviordocumentationRelates to Salt documentationfixed-pls-verifyfix is linked, bug author to confirm fixseverity-low4th level, cosemtic problems, work around exists
Activity
jfindlay commentedon May 6, 2016
@fmnisme, thanks for reporting.
cachedout commentedon May 9, 2016
@whiteinge Do you know what's going on here by chance? Could this be related to the decorator on that method?
whiteinge commentedon May 9, 2016
You're right, it's the decorator. We mock the CherryPy import so when Sphinx tries to auto-document that class it hits the mocked decorator instead of the code. 💭
cachedout commentedon May 10, 2016
This might get solved by #33132.