From cada29b4fb36aa3be5e8f4f9a16d698cdcd646db Mon Sep 17 00:00:00 2001 From: Alexey Shkarin Date: Sun, 12 Dec 2021 22:21:52 +0100 Subject: [PATCH] Docs compilation bugfix --- docs/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index abb7f9e..23b950a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -58,7 +58,8 @@ sys.modules['serial']=mock.Mock(SerialException=object) sys.modules['ft232']=mock.Mock(Ft232Exception=object) sys.modules['PyQt5.QtCore']=mock.Mock(QObject=object,QThread=object) -sys.modules['PyQt5.QtWidgets']=mock.Mock(QWidget=object,QFrame=object,QGroupBox=object,QScrollArea=object,QTabWidget=object,QPushButton=object,QComboBox=object,QLineEdit=object,QLabel=object) +sys.modules['PyQt5.QtWidgets']=mock.Mock(QWidget=object,QFrame=object,QGroupBox=object,QScrollArea=object,QTabWidget=object, + QPushButton=object,QComboBox=object,QLineEdit=object,QLabel=object,QDialog=object) sys.modules['PyQt5']=mock.Mock(QtCore=sys.modules['PyQt5.QtCore'],QtWidgets=sys.modules['PyQt5.QtWidgets']) if os.path.exists(".skipped_apidoc"): with open(".skipped_apidoc","r") as f: