diff --git a/docs/source/conf.py b/docs/source/conf.py index b1b9a0a6c6..1acb634fb8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -305,6 +305,7 @@ autodoc_mock_imports = [ 'simple_websocket', 'uvicorn', 'websockets', + 'docutils', ] sys.path.insert(0, os.path.abspath('../..')) diff --git a/requirements.txt b/requirements.txt index a78946b422..b0677cd24d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,7 @@ alembic bcrypt croniter +docutils flask frozendict marshmallow diff --git a/setup.py b/setup.py index 48f65213a7..3bc505f92d 100755 --- a/setup.py +++ b/setup.py @@ -63,6 +63,7 @@ setup( 'alembic', 'bcrypt', 'croniter', + 'docutils', 'flask', 'frozendict', 'marshmallow', @@ -202,8 +203,6 @@ setup( 'mlx90640': ['Pillow'], # Support for machine learning models and cameras over OpenCV 'cv': ['opencv-python', 'numpy', 'Pillow'], - # Support for the generation of HTML documentation from docstring - 'htmldoc': ['docutils'], # Support for Node-RED integration 'nodered': ['pynodered'], # Support for Todoist integration