Mock sigfig for doc build to fix the failed rendered API doc (#7800)

This commit is contained in:
Yuwen Hu 2023-03-08 10:00:23 +08:00 committed by GitHub
parent 17474d9402
commit e5e5c06863

View file

@ -18,7 +18,7 @@ import glob
import shutil import shutil
import urllib import urllib
autodoc_mock_imports = ["openvino", "pytorch_lightning", "keras", "cpuinfo"] autodoc_mock_imports = ["openvino", "pytorch_lightning", "keras", "cpuinfo", "sigfig"]
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, '.') #sys.path.insert(0, '.')