浏览代码

infer version

justheuristic 5 年之前
父节点
当前提交
521ac2873a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/conf.py

+ 2 - 1
docs/conf.py

@@ -22,7 +22,8 @@ from recommonmark.parser import CommonMarkParser
 
 
 # -- Project information -----------------------------------------------------
-import tesseract
+import importlib
+tesseract = importlib.import_module('tesseract', '../tesseract')
 
 project = 'tesseract'
 copyright = '2020, Learning@home & contributors'