diff --git a/doc/sphinx/source/conf.py b/doc/sphinx/source/conf.py index 95d23018..83f7a902 100644 --- a/doc/sphinx/source/conf.py +++ b/doc/sphinx/source/conf.py @@ -200,8 +200,6 @@ # -- Extension configuration ------------------------------------------------- -from unittest import * -from mock import MagicMock autodoc_mock_imports = ['Sofa', 'stlib3','splib3', @@ -224,6 +222,8 @@ # # MockingClass = type('MockingClass', (), {}) # +# from unittest import * +# from mock import MagicMock # class Mock(MagicMock): # @classmethod # def __getattr__(cls, name): diff --git a/doc/sphinx/source/requirements.txt b/doc/sphinx/source/requirements.txt index 2530f568..a5dbcdfc 100644 --- a/doc/sphinx/source/requirements.txt +++ b/doc/sphinx/source/requirements.txt @@ -1,4 +1,5 @@ sphinx +mock sphinx-rtd-theme pydata-sphinx-theme sphinx-autodoc-typehints