Skip to content

Commit 365fff8

Browse files
committed
doc update with regards to #1908
In order to make C-module dependencies work on RTD they need not only to be mocked by also removed from setup.py to prevent installation attempts.
1 parent e495883 commit 365fff8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/faq.rst

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ Of course, replacing `MOCK_MODULES` with the modules that you want to mock out.
6666

6767
from mock import Mock as MagicMock
6868

69+
If such libraries are installed are installed via ``setup.py``, you also will need to remove all the C-dependent libraries from your ``install_requires`` in the RTD environment.
70+
6971
`Client Error 401` when building documentation
7072
----------------------------------------------
7173

0 commit comments

Comments
 (0)